rt2x00: rt2800lib: fix RF registers for RT5390/RT5392
authorKevin Lo <kevlo@kevlo.org>
Sat, 12 Oct 2013 15:25:23 +0000 (23:25 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Oct 2013 17:39:59 +0000 (13:39 -0400)
commit7122e660027f806c2d01b3db6e322aff98183e75
tree7f85c400b6b99362471004067099ef0924c91d7e
parent448a71cc747d5d18a126a1214bf4db3ec1ea1e05
rt2x00: rt2800lib: fix RF registers for RT5390/RT5392

Update rf registers to use the same values that the MediaTek/Ralink
reference driver DPO_RT5572_LinuxSTA_2.6.1.3_20121022 uses.

References:
  RF5390RegTable in chips/rt5390.c
  RF5392RegTable in chips/rt5390.c

Tested on TP-Link TL-WN727N and D-Link DWA-140 Rev.b3 usb wifi dongles.

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c