OSDN Git Service

rt2800: fix TX_PIN_CFG setting for non MT7620 chips
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 25 Aug 2017 15:04:15 +0000 (17:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Aug 2017 16:50:09 +0000 (19:50 +0300)
commit83ec489193894e52bd395eec470f4f7c4286d4a5
treebb01f73db07c8b1747a28e703d876bbee6ec0a87
parent0270639e899e21ad0531621f23a238d4bff63653
rt2800: fix TX_PIN_CFG setting for non MT7620 chips

Since commit 41977e86c984 ("rt2x00: add support for MT7620") we do not
initialize TX_PIN_CFG setting. This cause breakage at least on some
RT3573 devices. To fix the problem patch restores previous behaviour
for non MT7620 chips.

Fixes: 41977e86c984 ("rt2x00: add support for MT7620")
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1480829
Reported-and-tested-by: Jussi Eloranta <jussi.eloranta@csun.edu>
Cc: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c