aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-08-29 14:32:42 +0200
committerFelix Fietkau <nbd@nbd.name>2023-09-18 16:52:25 +0200
commit9720b094aef89802327683f25824820581fed0b9 (patch)
tree1add9555f456586bf676dca47ac674887d6f7cc2 /package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
parent263583dc1e569fae3f8e99d73f2fd72376421b17 (diff)
downloadupstream-9720b094aef89802327683f25824820581fed0b9.tar.gz
upstream-9720b094aef89802327683f25824820581fed0b9.tar.bz2
upstream-9720b094aef89802327683f25824820581fed0b9.zip
hostapd: backport from master, including ucode based reload support
This significantly improves config reload behavior and also fixes some corner cases related to running AP + mesh interfaces at the same time. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch')
-rw-r--r--package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch b/package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
index 4ee43b5186..edf599e3e2 100644
--- a/package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
+++ b/package/network/services/hostapd/patches/021-fix-sta-add-after-previous-connection.patch
@@ -1,6 +1,6 @@
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
-@@ -4601,6 +4601,13 @@ static int add_associated_sta(struct hos
+@@ -4621,6 +4621,13 @@ static int add_associated_sta(struct hos
* drivers to accept the STA parameter configuration. Since this is
* after a new FT-over-DS exchange, a new TK has been derived, so key
* reinstallation is not a concern for this case.
@@ -14,7 +14,7 @@
*/
wpa_printf(MSG_DEBUG, "Add associated STA " MACSTR
" (added_unassoc=%d auth_alg=%u ft_over_ds=%u reassoc=%d authorized=%d ft_tk=%d fils_tk=%d)",
-@@ -4614,7 +4621,8 @@ static int add_associated_sta(struct hos
+@@ -4634,7 +4641,8 @@ static int add_associated_sta(struct hos
(!(sta->flags & WLAN_STA_AUTHORIZED) ||
(reassoc && sta->ft_over_ds && sta->auth_alg == WLAN_AUTH_FT) ||
(!wpa_auth_sta_ft_tk_already_set(sta->wpa_sm) &&