rt2800: comment and simplify AGC init for RT6352
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 13 Feb 2019 10:09:16 +0000 (11:09 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 19 Feb 2019 15:18:57 +0000 (17:18 +0200)
commitc7ff1bfeaf1ca69e3e401be211b55d1738d0c5fc
tree9da3dafbb107924cce741cc39c20e95740798a50
parent7aca14885edeab536a8cbe1e7cfeadd4c3310b9b
rt2800: comment and simplify AGC init for RT6352

We do not need separate lines for calculating register values.
Also add comment that value is different than in vendor driver.

Suggested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c