Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3448f912 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

ath9k: disable the MIB interrupt if ANI is disabled

parent 31a0bd3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1436,6 +1436,7 @@ static int ath9k_add_interface(struct ieee80211_hw *hw,
	if ((vif->type == NL80211_IFTYPE_STATION) ||
	    (vif->type == NL80211_IFTYPE_ADHOC) ||
	    (vif->type == NL80211_IFTYPE_MESH_POINT)) {
		if (ah->config.enable_ani)
			ah->imask |= ATH9K_INT_MIB;
		ah->imask |= ATH9K_INT_TSFOOR;
	}