]> git.baikalelectronics.ru Git - kernel.git/commit
rt2800: do VCO calibration after programming ALC
authorDaniel Golle <daniel@makrotopia.org>
Mon, 17 Apr 2017 19:32:12 +0000 (21:32 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 11:00:00 +0000 (14:00 +0300)
commit53218208601a4df3086f9df9b8e877d41de564dd
tree944402cd79d0285c03a11be2c22bfd9f6ebfa6fe
parent5acfdd39bfbc6a21ad29fc73e10a94af24fb3c74
rt2800: do VCO calibration after programming ALC

Somehow AP doesn't come up and the first scan fails if we don't do
VCO calibration every time.
The vendor driver duplicates the VCO calibration function into the
channel switching logic, we can do the same with less duplication.

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