projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a0bd3
)
ath9k: disable the MIB interrupt if ANI is disabled
author
Luis R. Rodriguez
<
[email protected]
>
Thu, 15 Apr 2010 21:38:23 +0000
(17:38 -0400)
committer
John W. Linville
<
[email protected]
>
Fri, 16 Apr 2010 19:43:21 +0000
(15:43 -0400)
Signed-off-by: Luis R. Rodriguez <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/main.c
b/drivers/net/wireless/ath/ath9k/main.c
index f7ef11407e27c016d20cbfdeee18a1f2e57b13a9..494456cd1daa3585c968f552afd431e84974dccb 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/main.c
+++ b/
drivers/net/wireless/ath/ath9k/main.c
@@
-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;
}