kernel/drivers/net/wireless/ath/ath9k/antenna.c
.. .. @@ -755,11 +755,11 @@ 755 755 } 756 756 757 757 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);760 760 } 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);763 763 } 764 764 765 765 /* Short scan check */