aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index a0d5901bf50b..eb6d12911b9a 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -774,7 +774,7 @@ static void rt2800_config_channel_rt3x(struct rt2x00_dev *rt2x00dev,
774 u8 rfcsr; 774 u8 rfcsr;
775 775
776 rt2800_rfcsr_write(rt2x00dev, 2, rf->rf1); 776 rt2800_rfcsr_write(rt2x00dev, 2, rf->rf1);
777 rt2800_rfcsr_write(rt2x00dev, 2, rf->rf3); 777 rt2800_rfcsr_write(rt2x00dev, 3, rf->rf3);
778 778
779 rt2800_rfcsr_read(rt2x00dev, 6, &rfcsr); 779 rt2800_rfcsr_read(rt2x00dev, 6, &rfcsr);
780 rt2x00_set_field8(&rfcsr, RFCSR6_R, rf->rf2); 780 rt2x00_set_field8(&rfcsr, RFCSR6_R, rf->rf2);