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:
d510342
)
iwlwifi: mvm: squash a spurious warning on chnctx change
author
Arik Nemtsov
<
[email protected]
>
Sun, 29 Dec 2013 15:57:53 +0000
(17:57 +0200)
committer
Emmanuel Grumbach
<
[email protected]
>
Tue, 31 Dec 2013 17:03:48 +0000
(19:03 +0200)
If the channel min-width changes, we can update the PHY ctx, even if
it has multiple references.
Signed-off-by: Arik Nemtsov <
[email protected]
>
Reviewed-by: Eliad Peller <
[email protected]
>
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/mac80211.c
b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
index e9eff30d76be5747de180671f7cbfd12f8ba4bd4..abe75142edbaf3e45f8ca80544fb4c5089f3df75 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/mac80211.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/mac80211.c
@@
-1649,7
+1649,8
@@
static void iwl_mvm_change_chanctx(struct ieee80211_hw *hw,
if (WARN_ONCE((phy_ctxt->ref > 1) &&
(changed & ~(IEEE80211_CHANCTX_CHANGE_WIDTH |
IEEE80211_CHANCTX_CHANGE_RX_CHAINS |
- IEEE80211_CHANCTX_CHANGE_RADAR)),
+ IEEE80211_CHANCTX_CHANGE_RADAR |
+ IEEE80211_CHANCTX_CHANGE_MIN_WIDTH)),
"Cannot change PHY. Ref=%d, changed=0x%X\n",
phy_ctxt->ref, changed))
return;