diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2016-11-18 10:43:58 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-23 16:38:51 +0100 |
commit | 231aeca1e19e507af37d800de8d39fa6a72fbd92 (patch) | |
tree | 15df47d1f5ff3c5456ddb484d17a1f1fa8bca99d /drivers/net | |
parent | rt2800: correct AUTO_RSP_CFG (diff) | |
download | linux-231aeca1e19e507af37d800de8d39fa6a72fbd92.tar.xz linux-231aeca1e19e507af37d800de8d39fa6a72fbd92.zip |
rt2800: correct TX_SW_CFG1 for 5592
Those TX_SW_CFG1 values are used in vendor driver.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index e81319dbe7fd..438f7151195b 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -4670,11 +4670,14 @@ static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) 0x00000000); } } else if (rt2x00_rt(rt2x00dev, RT5390) || - rt2x00_rt(rt2x00dev, RT5392) || - rt2x00_rt(rt2x00dev, RT5592)) { + rt2x00_rt(rt2x00dev, RT5392)) { rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000000); + } else if (rt2x00_rt(rt2x00dev, RT5592)) { + rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); + rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00000000); + rt2800_register_write(rt2x00dev, TX_SW_CFG2, 0x00000000); } else { rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000000); rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); |