diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2011-06-02 00:09:48 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 18:19:49 (GMT) |
commit | a99168eece601d2a79ecfcb968ce226f2f30cf98 (patch) | |
tree | 01598dfa43a08038f9b33cdae902f71156647471 /drivers/net/wireless/ath/ath5k/reset.c | |
parent | bdf492f502ad4f646e9905db1b89e11822826edd (diff) | |
download | linux-fsl-qoriq-a99168eece601d2a79ecfcb968ce226f2f30cf98.tar.xz |
ath5k: Disable fast channel switching by default
Disable fast channel change by default on AR2413/AR5413 due to
some bug reports (it still works for me but it's better to be safe).
Add a module parameter "fastchanswitch" in case anyone wants to enable
it and play with it.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/reset.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/reset.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c index 3510de2..126a4ea 100644 --- a/drivers/net/wireless/ath/ath5k/reset.c +++ b/drivers/net/wireless/ath/ath5k/reset.c @@ -1124,8 +1124,11 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, /* Non fatal, can happen eg. * on mode change */ ret = 0; - } else + } else { + ATH5K_DBG(ah->ah_sc, ATH5K_DEBUG_RESET, + "fast chan change successful\n"); return 0; + } } /* |