]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
e1000e: e1000e_enable_tx_pkt_filtering() returns wrong value
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 7 Jan 2010 16:31:54 +0000 (16:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 08:35:31 +0000 (00:35 -0800)
commitca777f9c098f1ea1c9ec61318cc909d0c8f465e1
treee6308bf4d3833bc4cfbe707cd83d80e9bedcf688
parentf464ba87fe7f346e270239354eb0d38f7a3b3e6b
e1000e: e1000e_enable_tx_pkt_filtering() returns wrong value

e1000e_enable_tx_pkt_filtering() will return a non-zero value if the
driver fails to enable the manageability interface on the host for
any reason; instead it should retun zero to indicate filtering has been
disabled.  Also provide a single exit point for the function.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/lib.c