]> git.baikalelectronics.ru Git - kernel.git/commit
ice: use pkg_dwnld_status instead of sq_last_status
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 6 Nov 2019 10:05:35 +0000 (02:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Nov 2019 20:02:59 +0000 (12:02 -0800)
commitb5adc56c78b1949077b9c3de38cfd50bc5de34ea
treef0a73d929538ce32b7d4818e6a3a03ec7ab5661b
parent9a66f62c1cf48f5fa34e33e081465b41d3df8fbf
ice: use pkg_dwnld_status instead of sq_last_status

Since the return value from the Download Package AQ command is stored in
hw->pkg_dwnld_status, use that instead of sq_last_status since that may
have the return value from some other AQ command leading to unexpected
results.

Signed-off-by: Bruce Allan <bruce.w.allan@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