]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: stop sending commands to dead firmware
authorAlexander Bondar <alexander.bondar@intel.com>
Tue, 5 Nov 2013 15:35:14 +0000 (17:35 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 25 Nov 2013 21:00:20 +0000 (23:00 +0200)
commit0340d530850a02c9e10d1bf4ef543f979227f2b4
tree9175556d320512327e4314dec4952ddd0e11866d
parent0c78f98b0b3d995ddcea68e396ba3ae9325845f7
iwlwifi: pcie: stop sending commands to dead firmware

If we call ieee80211_hw_restart, it means that the
firmware is in bad condition and will be reset soon.
Since the firmware will be reset, there is no good
reason to keep sending host commands.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/tx.c