diff options
author | Bruno Randolf <br1@einfach.org> | 2010-03-09 08:55:28 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-10 23:44:32 +0100 |
commit | caec9112d6cb07cb5b82a967a448c3b15b257654 (patch) | |
tree | d590f4044585a288d10847694e0d36dfe77cc71b /drivers/net/wireless/ath/ath5k/attach.c | |
parent | ath5k: add antenna statistics and debugfs file for antenna settings (diff) | |
download | linux-caec9112d6cb07cb5b82a967a448c3b15b257654.tar.xz linux-caec9112d6cb07cb5b82a967a448c3b15b257654.zip |
ath5k: preserve antenna settings
save antenna settings and preserve across resets.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/attach.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c index 42284445b75e..c8bb102a4db4 100644 --- a/drivers/net/wireless/ath/ath5k/attach.c +++ b/drivers/net/wireless/ath/ath5k/attach.c @@ -123,6 +123,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc) ah->ah_cw_min = AR5K_TUNE_CWMIN; ah->ah_limit_tx_retries = AR5K_INIT_TX_RETRY; ah->ah_software_retry = false; + ah->ah_ant_mode = AR5K_ANTMODE_DEFAULT; /* * Find the mac version |