aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorNikolay Ledovskikh <nledovskikh@gmail.com>2011-02-18 11:59:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-18 16:47:37 -0500
commit28bec7b845e10b68e6ba1ade5de0fc566690fc61 (patch)
tree7d3d65121f726e89a22e20d15c08511bcebc6364 /drivers/net
parent00781a74ee34222ee3cdc36d4f3d9c844dddbd27 (diff)
ath5k: Correct channel setting for AR2317 chip
Correct channel setting function must be used for AR2317. When I tested ahb patch on bullet2 all seemed to work fine, but it couldn't connect another host (using ibss for example). During an analysis I observed that it's transmitting on another channel. I looked into madwifi code and understood that the problem is in channel setting function. So atheros RF2317 not fully handled in the current ath5k version and must be patched. Signed-off-by: Nikolay Ledovskikh <nledovskikh@gmail.com> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index 78c26fdccad1..c44111fc98b7 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -1253,6 +1253,7 @@ static int ath5k_hw_channel(struct ath5k_hw *ah,
1253 case AR5K_RF5111: 1253 case AR5K_RF5111:
1254 ret = ath5k_hw_rf5111_channel(ah, channel); 1254 ret = ath5k_hw_rf5111_channel(ah, channel);
1255 break; 1255 break;
1256 case AR5K_RF2317:
1256 case AR5K_RF2425: 1257 case AR5K_RF2425:
1257 ret = ath5k_hw_rf2425_channel(ah, channel); 1258 ret = ath5k_hw_rf2425_channel(ah, channel);
1258 break; 1259 break;