e1000e: e1000e_enable_tx_pkt_filtering() returns wrong value
authorBruce Allan <[email protected]>
Thu, 7 Jan 2010 16:31:54 +0000 (16:31 +0000)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/e1000e/lib.c