be2net: Fix to avoid hardware workaround when not needed
authorSarveshwar Bandi <sarveshwar.bandi@emulex.com>
Tue, 16 Jul 2013 07:14:02 +0000 (12:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jul 2013 20:01:57 +0000 (13:01 -0700)
commit52fe29e4bb614367c108b717c6d7fe5953eb7af3
tree0fc2b21c8f71d701fc29f52caa5ea28e461aa6fe
parent0fbe0d47b1ee2015c288abd4e7b32224f8bfa212
be2net: Fix to avoid hardware workaround when not needed

Hardware workaround requesting hardware to skip vlan insertion is necessary
only when umc or qnq is enabled. Enabling this workaround in other scenarios
could cause controller to stall.

Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c