mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
UPSTREAM: 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>
Bug: 243994705
(cherry picked from commit 5ec245e4d1)
Change-Id: If1579d023e9026d044ac5c0fbd4481ebaabc316c
Signed-off-by: Carlos Llamas <cmllamas@google.com>
This commit is contained in:
committed by
Carlos Llamas
parent
a0b6aabf37
commit
60cc532e54
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user