]> Pileus Git - ~andy/linux/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)
commit6860bd15c23653123585a18e4dc7b760b6fec365
tree9175556d320512327e4314dec4952ddd0e11866d
parent3fde33b7629518e2233325be10cd06f20e425e88
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