bnx2x: Fix to prevent inner-reload
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Mon, 4 May 2015 09:34:12 +0000 (12:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 19:54:46 +0000 (15:54 -0400)
commit0650c0b8d9efe5b1205116a2febcb984c6c98472
tree3982f0819c2ffe13b67e7546d185993095d8d88a
parent73e84313ee4178cac628009103a901af9dfe8920
bnx2x: Fix to prevent inner-reload

Submit 909d9faae2a44 ("bnx2x: Prevent inner-reload while VFs exist")
contained a bug - MTU change was not prevented by it; Instead, it
`randomally' prevented bnx2x_resume() from running [harmless yet wrong].

This moves the check to its correct spot.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c