diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-09-20 16:40:09 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-09-23 17:26:52 +0300 |
commit | 49a765d6785e99157ff5091cc37485732496864e (patch) | |
tree | 9375c2b933cf5965b36084960eff2ca5b51c58f1 /net/mac80211/ieee80211_i.h | |
parent | c6e37ed498f958254b5459253199e816b6bfc52f (diff) | |
download | linux-49a765d6785e99157ff5091cc37485732496864e.tar.xz |
mac80211: mlme: find auth challenge directly
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 6a129a08bc9b..7a9e529f8366 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1517,7 +1517,6 @@ struct ieee802_11_elems { const u8 *supp_rates; const u8 *ds_params; const struct ieee80211_tim_ie *tim; - const u8 *challenge; const u8 *rsn; const u8 *rsnx; const u8 *erp_info; @@ -1571,7 +1570,6 @@ struct ieee802_11_elems { u8 ssid_len; u8 supp_rates_len; u8 tim_len; - u8 challenge_len; u8 rsn_len; u8 rsnx_len; u8 ext_supp_rates_len; |