forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/net/wireless/ath/ath9k/antenna.c
....@@ -755,11 +755,11 @@
755755 }
756756
757757 if (main_ant_conf == rx_ant_conf) {
758
- ANT_STAT_INC(ANT_MAIN, recv_cnt);
759
- ANT_LNA_INC(ANT_MAIN, rx_ant_conf);
758
+ ANT_STAT_INC(sc, ANT_MAIN, recv_cnt);
759
+ ANT_LNA_INC(sc, ANT_MAIN, rx_ant_conf);
760760 } else {
761
- ANT_STAT_INC(ANT_ALT, recv_cnt);
762
- ANT_LNA_INC(ANT_ALT, rx_ant_conf);
761
+ ANT_STAT_INC(sc, ANT_ALT, recv_cnt);
762
+ ANT_LNA_INC(sc, ANT_ALT, rx_ant_conf);
763763 }
764764
765765 /* Short scan check */