Michal Schmidt a8e0c246da bnx2x: fix encapsulation features on 57710/57711
E1x chips (57710, 57711(E)) have no support for encapsulation
offload. bnx2x incorrectly advertises the support as available.

Setting of those features is conditional on "!CHIP_IS_E1x(bp)", but
the bp struct is not initialized yet at this point and consequently
any chip passes the check.
The check must use the "chip_is_e1x" local variable instead to work
correctly.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-16 17:05:48 -04:00
..
2015-03-08 22:55:48 -04:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00