diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-12-23 07:15:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-02 14:31:50 -0500 |
commit | 535765179fd4e8af26b69d2240d7ec33702a370a (patch) | |
tree | a21ca3bdc1b4b5f40e233672f16ec618aab604fa /drivers/net/wireless/ath/ar9170/ar9170.h | |
parent | 6e93d7195e75741e9ebe23ca5591977d0b39ecc0 (diff) |
ar9170: load firmware asynchronously
This converts ar9170 to load firmware asynchronously
out of ->probe() and only register with mac80211 when
all firmware has been loaded successfully. If, on the
other hand, any firmware fails to load, it will now
unbind from the device.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/ar9170.h')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/ar9170.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h index 8c8ce67971e9..dc662b76a1c8 100644 --- a/drivers/net/wireless/ath/ar9170/ar9170.h +++ b/drivers/net/wireless/ath/ar9170/ar9170.h | |||
@@ -166,6 +166,7 @@ struct ar9170 { | |||
166 | struct ath_common common; | 166 | struct ath_common common; |
167 | struct mutex mutex; | 167 | struct mutex mutex; |
168 | enum ar9170_device_state state; | 168 | enum ar9170_device_state state; |
169 | bool registered; | ||
169 | unsigned long bad_hw_nagger; | 170 | unsigned long bad_hw_nagger; |
170 | 171 | ||
171 | int (*open)(struct ar9170 *); | 172 | int (*open)(struct ar9170 *); |