mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 12:54:37 +08:00
iwlwifi: mvm: squash a spurious warning on chnctx change
If the channel min-width changes, we can update the PHY ctx, even if it has multiple references. Signed-off-by: Arik Nemtsov <arik@wizery.com> Reviewed-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
d510342fee
commit
2dceedaed6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user