diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 2a6aa85cc6c9..0fab3152f2c0 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -1795,8 +1795,10 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev, | |||
1795 | 1795 | ||
1796 | /* Turn on unused PA or LNA when not using 1T or 1R */ | 1796 | /* Turn on unused PA or LNA when not using 1T or 1R */ |
1797 | if (rt2x00dev->default_ant.tx_chain_num == 2) { | 1797 | if (rt2x00dev->default_ant.tx_chain_num == 2) { |
1798 | rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_A1_EN, 1); | 1798 | rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_A1_EN, |
1799 | rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_G1_EN, 1); | 1799 | rf->channel > 14); |
1800 | rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_G1_EN, | ||
1801 | rf->channel <= 14); | ||
1800 | } | 1802 | } |
1801 | 1803 | ||
1802 | /* Turn on unused PA or LNA when not using 1T or 1R */ | 1804 | /* Turn on unused PA or LNA when not using 1T or 1R */ |