mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 04:16:39 +00:00
wifi: mac80211: prohibit DEAUTH_NEED_MGD_TX_PREP in MLO
For now, prohibit DEAUTH_NEED_MGD_TX_PREP since we can't really transmit this on a specific link yet as we don't know which links are active. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
ff5c4dc4cd
commit
19343659c8
1 changed files with 3 additions and 0 deletions
|
@ -1001,6 +1001,9 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|||
|
||||
if (WARN_ON(!ieee80211_hw_check(hw, AP_LINK_PS)))
|
||||
return -EINVAL;
|
||||
|
||||
if (WARN_ON(ieee80211_hw_check(hw, DEAUTH_NEED_MGD_TX_PREP)))
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
|
|
Loading…
Reference in a new issue