ice: fix adminq calls during remove
authorHenry Tieman <henry.w.tieman@intel.com>
Fri, 2 Aug 2019 08:25:24 +0000 (01:25 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 27 Aug 2019 06:54:29 +0000 (23:54 -0700)
commitae2bdbb45d38ee2ec67a958bf221138b58817c82
tree99830a82cc80216c941a5706a3e1cccc9a478747
parent152b978a1f904f252ae3df548bc2e183e7368c6d
ice: fix adminq calls during remove

The order of operations was incorrect in ice_remove(). The code would
try to use adminq operations after the adminq was disabled. This caused
all adminq calls to fail and possibly timeout waiting.

Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c