diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-10-13 20:15:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-15 07:59:04 +0200 |
commit | 630060f1175676b9cb3a032767f20dbce93616c9 (patch) | |
tree | 2eca0ec0fb373dfa268a90ffbfe72d88f2f10f49 /net/netlabel | |
parent | 21df3a583e8e03d8f74fa2eedbcd7a2b3f5cabc1 (diff) | |
download | linux-stable-630060f1175676b9cb3a032767f20dbce93616c9.tar.gz linux-stable-630060f1175676b9cb3a032767f20dbce93616c9.tar.bz2 linux-stable-630060f1175676b9cb3a032767f20dbce93616c9.zip |
mac80211: mlme: find auth challenge directly
commit 49a765d6785e99157ff5091cc37485732496864e upstream.
There's no need to parse all elements etc. just to find the
authentication challenge - use cfg80211_find_elem() instead.
This also allows us to remove WLAN_EID_CHALLENGE handling
from the element parsing entirely.
Link: https://lore.kernel.org/r/20210920154009.45f9b3a15722.Ice3159ffad03a007d6154cbf1fb3a8c48489e86f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions