summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/file.h
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2017-11-20 18:02:05 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-12-05 21:01:40 +0200
commit6362ab721ef5c4ecfa01f53ad4137d3d984f0c6c (patch)
treec5ea068797f97d2490d9b532ab383d0d6632bead /drivers/net/wireless/intel/iwlwifi/fw/file.h
parentd4e4aa7c8e342dc6206771ade55f40f8883fd7e6 (diff)
iwlwifi: mvm: avoid dumping assert log when device is stopped
We might erroneously get to error dumping code when the device is already stopped. In that case the driver will detect a defective value and will try to reset the HW, assuming it is only a bus issue. The driver than proceeds with the dumping. The result has two side effects: 1. The device won't be stopped again, since the transport status is already stopped, so the device remains powered on while it actually should be stopped. 2. The dump in that case is completely garbaged and useless. Detect and avoid this. It will also make debugging such issues easier. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/file.h')
0 files changed, 0 insertions, 0 deletions