diff options
author | Kevin Lo <kevlo@kevlo.org> | 2013-11-14 05:53:44 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-05 19:55:00 (GMT) |
commit | ac0ef8139bc4f6493b6bb560bfeb31b883b7e8ae (patch) | |
tree | 6d61ce4058bbf26ecc03e7d05dc41453cfac6662 /drivers/net/wireless/rt2x00 | |
parent | dc14b02c0dd87ca7bbb9d566ac209e4aaedddad5 (diff) | |
download | linux-ac0ef8139bc4f6493b6bb560bfeb31b883b7e8ae.tar.xz |
rt2x00: rt2800lib: no need to write RF register 3 twice for RT5592
In rt2800_init_rfcsr_5592(), there's no need to write RF register 3 twice.
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 7848b39..5ee5b29 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -6610,7 +6610,6 @@ static void rt2800_init_rfcsr_5592(struct rt2x00_dev *rt2x00dev) rt2800_rfcsr_write(rt2x00dev, 1, 0x3F); rt2800_rfcsr_write(rt2x00dev, 3, 0x08); - rt2800_rfcsr_write(rt2x00dev, 3, 0x08); rt2800_rfcsr_write(rt2x00dev, 5, 0x10); rt2800_rfcsr_write(rt2x00dev, 6, 0xE4); rt2800_rfcsr_write(rt2x00dev, 7, 0x00); |