ath5k: fix 2ghz-only radio handling on ar5312
SVN-Revision: 26582
This commit is contained in:
parent
247a688ca5
commit
8ab360f9b3
1 changed files with 12 additions and 0 deletions
12
package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch
Normal file
12
package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- a/drivers/net/wireless/ath/ath5k/caps.c
|
||||
+++ b/drivers/net/wireless/ath/ath5k/caps.c
|
||||
@@ -94,6 +94,9 @@ int ath5k_hw_set_capabilities(struct ath
|
||||
}
|
||||
}
|
||||
|
||||
+ if ((ah->ah_radio_5ghz_revision & 0xf0) == AR5K_SREV_RAD_2112)
|
||||
+ __clear_bit(AR5K_MODE_11A, caps->cap_mode);
|
||||
+
|
||||
/* Set number of supported TX queues */
|
||||
if (ah->ah_version == AR5K_AR5210)
|
||||
caps->cap_queues.q_tx_num = AR5K_NUM_TX_QUEUES_NOQCU;
|
Loading…
Reference in a new issue