igb: clear VF_PROMISC bits instead of setting all other bits
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Sep 2010 17:56:20 +0000 (17:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 04:20:03 +0000 (21:20 -0700)
commitd85b9004bc2047d79248b167cc151ff9a4b509c3
treeb507aff12a94c51e48e0bca5eaa21ab5c82e6b50
parent768190fdc058cc7405330f7782782df084c25d61
igb: clear VF_PROMISC bits instead of setting all other bits

This change corrects an issue in which we were setting all flag bits except
for promisc instead of clearing the promisc bits due to the incorrect use
of an |= instead of an &=.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c