rt2800: warn if doing VCO recalibration for unknow RF chip
Since we reset TX_PIN_CFG register, we have to finish recalibration. Warn if this is not possible. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
8845254112
commit
bc00770539
|
@ -4346,6 +4346,8 @@ void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev)
|
|||
rt2800_rfcsr_write(rt2x00dev, 3, rfcsr);
|
||||
break;
|
||||
default:
|
||||
WARN_ONCE(1, "Not supported RF chipet %x for VCO recalibration",
|
||||
rt2x00dev->chip.rf);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue