diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-10 21:12:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-10 21:12:00 +0000 |
commit | 8ab360f9b300eab5c31a38de43d216f6f50d2eb9 (patch) | |
tree | 79e4b4e051d4a769a7ad3c745d2f65109e9e680d /package/mac80211 | |
parent | 247a688ca5d2066a1d075e237469c0dd9d1f1da9 (diff) | |
download | upstream-8ab360f9b300eab5c31a38de43d216f6f50d2eb9.tar.gz upstream-8ab360f9b300eab5c31a38de43d216f6f50d2eb9.tar.bz2 upstream-8ab360f9b300eab5c31a38de43d216f6f50d2eb9.zip |
ath5k: fix 2ghz-only radio handling on ar5312
SVN-Revision: 26582
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch b/package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch new file mode 100644 index 0000000000..c394562a42 --- /dev/null +++ b/package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch @@ -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; |