ath9k: disable the MIB interrupt if ANI is disabled
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
31a0bd3c75
commit
3448f912c6
1 changed files with 2 additions and 1 deletions
|
@ -1436,7 +1436,8 @@ 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)) {
|
||||
ah->imask |= ATH9K_INT_MIB;
|
||||
if (ah->config.enable_ani)
|
||||
ah->imask |= ATH9K_INT_MIB;
|
||||
ah->imask |= ATH9K_INT_TSFOOR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue