diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-03 19:07:51 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-05 20:26:17 (GMT) |
commit | ceb26a6013b962b82f644189ea29d802490fc8fc (patch) | |
tree | 72b22bf99cd0848df867d821231e52be36a40cbe /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 93170516a4d64319ffcc43bc9dd61f12775bd297 (diff) | |
download | linux-fsl-qoriq-ceb26a6013b962b82f644189ea29d802490fc8fc.tar.xz |
ath9k: improve suspend/resume reliability
Ensure that drv_start() always returns true, as a failing hw start usually
eventually leads to crashes when there's still a station entry present.
Call a power-on reset after a resume and after a hw reset failure to bring
the hardware back to life again.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 566a4ce..dbc1b7a 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -741,6 +741,7 @@ struct ath_hw { u32 rfkill_polarity; u32 ah_flags; + bool reset_power_on; bool htc_reset_init; enum nl80211_iftype opmode; |