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)
commite000248ec870b2e5e2c9934191b057b5d136f267
treef0a73d929538ce32b7d4818e6a3a03ec7ab5661b
parentb791cdd5c78c74a165ee8da69d6c8ae683d17c38
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