diff options
author | Johannes Berg | 2011-04-13 12:14:49 +0200 |
---|---|---|
committer | Wey-Yi Guy | 2011-04-22 19:03:03 +0200 |
commit | e74fe2330a5a721610b2b69652d2ec2ebbd302e0 (patch) | |
tree | 6278e09720a76776b69f8277057b41e3858ffebb /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | iwlagn: make iwlagn_wait_notification return error code (diff) | |
download | kernel-qcow2-linux-e74fe2330a5a721610b2b69652d2ec2ebbd302e0.tar.gz kernel-qcow2-linux-e74fe2330a5a721610b2b69652d2ec2ebbd302e0.tar.xz kernel-qcow2-linux-e74fe2330a5a721610b2b69652d2ec2ebbd302e0.zip |
iwlagn: leave notification waits on firmware errors
When the firmware encounters an error while the
driver is waiting for a notification, it will
never get that notification. Therefore, instead
of timing out, bail out on errors when waiting
for notifications.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index d8bf11727aac..03452925bae3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1110,7 +1110,7 @@ struct iwl_notification_wait { void *fn_data; u8 cmd; - bool triggered; + bool triggered, aborted; }; enum iwl_rxon_context_id { |