aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40evf/i40e_adminq.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2016-01-15 14:33:19 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-17 23:36:08 -0800
commit9b9344f7ce19c5c481f203a0af3e120b965afcd9 (patch)
tree64bcf66cc430fce03c1ff3e07b494a569f17e20e /drivers/net/ethernet/intel/i40evf/i40e_adminq.c
parent6e93d0c90fb2e20fc5b9dbdf28b45e91a16b4353 (diff)
i40evf: set adapter state on reset failure
If a reset fails to complete, the driver gets its affairs in order and awaits the cold solace of rmmod. Unfortunately, it was not properly setting the adapter state, which would cause a panic on rmmod, instead of the desired surcease. Set the adapter state to DOWN in this case, and avoid a panic. Change-ID: I6fdd9906da52e023f8dc744f7da44b5d95278ca9 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_adminq.c')
0 files changed, 0 insertions, 0 deletions