ath9k: Fix interface accounting
Currently, the interface count is maintained globally, but this causes problems in RX filter calculation. Make the interface count a per-channel-context variable to fix this. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
fce3443099
commit
ca529c9373
@@ -232,7 +232,7 @@ int ath9k_suspend(struct ieee80211_hw *hw,
|
||||
goto fail_wow;
|
||||
}
|
||||
|
||||
if (sc->nvifs > 1) {
|
||||
if (sc->cur_chan->nvifs > 1) {
|
||||
ath_dbg(common, WOW, "WoW for multivif is not yet supported\n");
|
||||
ret = 1;
|
||||
goto fail_wow;
|
||||
|
Reference in New Issue
Block a user