]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211: give the AP more time for EPPKE as well
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Jan 2026 13:24:12 +0000 (14:24 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2026 10:59:55 +0000 (11:59 +0100)
EPPKE authentication can use SAE (via PASN), so give the
AP more time to respond to EPPKE case just like for SAE.

Link: https://patch.msgid.link/20260128132414.881741-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c

index 7957eacc5ab716fc4efaa81bd1813ef06655502b..170330d924a31936de90c654ce0e7afb566eaeb3 100644 (file)
@@ -8498,7 +8498,8 @@ static int ieee80211_auth(struct ieee80211_sub_if_data *sdata)
                return -ETIMEDOUT;
        }
 
-       if (auth_data->algorithm == WLAN_AUTH_SAE)
+       if (auth_data->algorithm == WLAN_AUTH_SAE ||
+           auth_data->algorithm == WLAN_AUTH_EPPKE)
                info.duration = jiffies_to_msecs(IEEE80211_AUTH_TIMEOUT_SAE);
 
        info.link_id = auth_data->link_id;