Skip to content

Commit 28bec7b

Browse files
nledovskikhlinvjw
authored andcommitted
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>
1 parent 00781a7 commit 28bec7b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/wireless/ath/ath5k

‎drivers/net/wireless/ath/ath5k/phy.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,7 @@ static int ath5k_hw_channel(struct ath5k_hw *ah,
12531253
case AR5K_RF5111:
12541254
ret = ath5k_hw_rf5111_channel(ah, channel);
12551255
break;
1256+
case AR5K_RF2317:
12561257
case AR5K_RF2425:
12571258
ret = ath5k_hw_rf2425_channel(ah, channel);
12581259
break;

0 commit comments

Comments
 (0)