diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-04-13 06:14:49 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-04-22 13:03:03 -0400 |
commit | e74fe2330a5a721610b2b69652d2ec2ebbd302e0 (patch) | |
tree | 6278e09720a76776b69f8277057b41e3858ffebb /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | a8674a1efca60d863d4caa47e102cc4d70d5ff9b (diff) |
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 { | |||
1110 | void *fn_data; | 1110 | void *fn_data; |
1111 | 1111 | ||
1112 | u8 cmd; | 1112 | u8 cmd; |
1113 | bool triggered; | 1113 | bool triggered, aborted; |
1114 | }; | 1114 | }; |
1115 | 1115 | ||
1116 | enum iwl_rxon_context_id { | 1116 | enum iwl_rxon_context_id { |