]> 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)
commit1126da0659e6fe3ecf7c7bef49c781e3d5980ec8
treef0a73d929538ce32b7d4818e6a3a03ec7ab5661b
parent94753604715a3c8559ffa8ef756a08dc9c4fc134
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