i40evf: don't go further down
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 22 May 2014 06:31:46 +0000 (06:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 11 Jun 2014 15:48:12 +0000 (08:48 -0700)
commitddf0b3a63e31ddc40712d151ea27ef86c5acb06a
tree1ad7b7724e4b42253f3422fb23040d81ef5d71f4
parent04b73bd7a46b0294456301e237041cca5adb33d7
i40evf: don't go further down

If the device is down, there's no place to go but up, so don't try to go
down even more. This prevents a CPU soft lock in napi_disable().

Change-ID: I8b058b9ee974dfa01c212fae2597f4f54b333314
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c