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)
commit2031badabf269067f9bc581fea946a27229e4030
tree944402cd79d0285c03a11be2c22bfd9f6ebfa6fe
parent225a644aae03ffe2ec186cd994cd5ab241130035
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