mac80211: fix MT7620 Wi-Fi channel scanning function
During the channel scanning process, the driver will continuously switch channels. It seems that the full RF calibration step in rt2800_config_channel() caused the channel scanning function to timeout. To fix it, move the RF calibration to rt2800_enable_radio() so that it is only executed once. This commit also includes some coding format adjustments to follow the Linux recommended style. Fixes: 2824fa69 ("mac80211: rework MT7620 PA/LNA RF calibration") Signed-off-by: NShiji Yang <yangshiji66@qq.com>
Showing
想要评论请 注册 或 登录