Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b21b508 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

e1000e: change logical negate to bitwise



The bitwise negate is intended here.  With the logical negate the
condition is always false.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d42a8f46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2554,7 +2554,7 @@ static void e1000_init_manageability_pt(struct e1000_adapter *adapter)
			mdef = er32(MDEF(i));

			/* Ignore filters with anything other than IPMI ports */
			if (mdef & !(E1000_MDEF_PORT_623 | E1000_MDEF_PORT_664))
			if (mdef & ~(E1000_MDEF_PORT_623 | E1000_MDEF_PORT_664))
				continue;

			/* Enable this decision filter in MANC2H */