]> 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)
commit07b21338c45d559e274d1712ce6147181afe2a63
tree9175556d320512327e4314dec4952ddd0e11866d
parente3f2893565a76b4bab93559f407e72c836dcd1d1
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