]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita810a983852ab655dadbd1d85c435b2ca7cbb522
tree9da3dafbb107924cce741cc39c20e95740798a50
parentee7fbe491743a70709ae7ceb98d1abfa827ee47d
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