1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 23:14:03 +02:00
openwrt-xburst/package/mac80211/patches/471-ath5k_detect_2ghz_radio.patch
nbd 2034dff22b mac80211: merge latest changes from trunk, fixes #9227
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:19:06 +00:00

13 lines
408 B
Diff

--- 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;