mt76x0: run vco calibration for each channel configuration
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 7 Sep 2018 21:13:12 +0000 (23:13 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:16 +0000 (12:31 +0200)
commit473f0a763d2c7cd68a6dedf51e7d81e8f58f78ac
tree76c59cb6b011ccb7e8d9b5ec00454bd706710745
parent835123b7e14cc328608197897db28e9b4d09d987
mt76x0: run vco calibration for each channel configuration

According to vendor sdk, vco calibration has to be executed
for each channel configuration whereas mcu calibration has to be
performed during channel scanning. This patch fixes the mt76x0
monitor mode issue since in that configuration vco calibration
was never executed

Fixes: 10de7a8b4ab9 ("mt76x0: phy files")
Tested-by: Sid Hayn <sidhayn@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c