aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 7310f34cc12a..6d2c66d9b290 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -867,7 +867,7 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev,
867 } 867 }
868 868
869 rt2800_register_read(rt2x00dev, TX_BAND_CFG, &reg); 869 rt2800_register_read(rt2x00dev, TX_BAND_CFG, &reg);
870 rt2x00_set_field32(&reg, TX_BAND_CFG_HT40_PLUS, conf_is_ht40_plus(conf)); 870 rt2x00_set_field32(&reg, TX_BAND_CFG_HT40_MINUS, conf_is_ht40_minus(conf));
871 rt2x00_set_field32(&reg, TX_BAND_CFG_A, rf->channel > 14); 871 rt2x00_set_field32(&reg, TX_BAND_CFG_A, rf->channel > 14);
872 rt2x00_set_field32(&reg, TX_BAND_CFG_BG, rf->channel <= 14); 872 rt2x00_set_field32(&reg, TX_BAND_CFG_BG, rf->channel <= 14);
873 rt2800_register_write(rt2x00dev, TX_BAND_CFG, reg); 873 rt2800_register_write(rt2x00dev, TX_BAND_CFG, reg);
@@ -900,7 +900,7 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev,
900 rt2800_bbp_write(rt2x00dev, 4, bbp); 900 rt2800_bbp_write(rt2x00dev, 4, bbp);
901 901
902 rt2800_bbp_read(rt2x00dev, 3, &bbp); 902 rt2800_bbp_read(rt2x00dev, 3, &bbp);
903 rt2x00_set_field8(&bbp, BBP3_HT40_PLUS, conf_is_ht40_plus(conf)); 903 rt2x00_set_field8(&bbp, BBP3_HT40_MINUS, conf_is_ht40_minus(conf));
904 rt2800_bbp_write(rt2x00dev, 3, bbp); 904 rt2800_bbp_write(rt2x00dev, 3, bbp);
905 905
906 if (rt2x00_rt_rev(rt2x00dev, RT2860, REV_RT2860C)) { 906 if (rt2x00_rt_rev(rt2x00dev, RT2860, REV_RT2860C)) {