[backfire] merge r26740
[openwrt-10.03/.git] / package / mac80211 / patches / 471-ath5k_detect_2ghz_radio.patch
1 --- a/drivers/net/wireless/ath/ath5k/caps.c
2 +++ b/drivers/net/wireless/ath/ath5k/caps.c
3 @@ -94,6 +94,9 @@ int ath5k_hw_set_capabilities(struct ath
4                 }
5         }
6  
7 +       if ((ah->ah_radio_5ghz_revision & 0xf0) == AR5K_SREV_RAD_2112)
8 +               __clear_bit(AR5K_MODE_11A, caps->cap_mode);
9 +
10         /* Set number of supported TX queues */
11         if (ah->ah_version == AR5K_AR5210)
12                 caps->cap_queues.q_tx_num = AR5K_NUM_TX_QUEUES_NOQCU;