]> 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)
commitb62d2fdd3af4d71ea2412fba8cd4a887c3f70038
tree944402cd79d0285c03a11be2c22bfd9f6ebfa6fe
parent56d4579fd57a67966ffde5b09aeda1d630278df9
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