mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
wifi: cfg80211: reject connect response with MLO params for WEP
MLO connections are not supposed to use WEP security. Reject connect response of MLO connection if WEP security mode is used. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com> Link: https://lore.kernel.org/r/20220730052643.1959111-2-quic_vjakkam@quicinc.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
40fb871290
commit
5ec245e4d1
1 changed files with 3 additions and 0 deletions
|
@ -747,6 +747,9 @@ void __cfg80211_connect_result(struct net_device *dev,
|
|||
if (WARN_ON(!cr->links[link].addr))
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (WARN_ON(wdev->connect_keys))
|
||||
goto out;
|
||||
}
|
||||
|
||||
wdev->unprot_beacon_reported = 0;
|
||||
|
|
Loading…
Reference in a new issue