mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 03:36:16 +02:00
0d3c7b5617
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26172 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
467 B
Diff
12 lines
467 B
Diff
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -1878,6 +1878,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw
|
|
!(AR_SREV_9271(ah)))
|
|
/* CB71: GPIO 0 is pulled down to indicate 3 rx chains */
|
|
pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7;
|
|
+ else if (AR_SREV_9100(ah))
|
|
+ pCap->rx_chainmask = 0x7;
|
|
else
|
|
/* Use rx_chainmask from EEPROM. */
|
|
pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK);
|