hostapd/src
Nijun Gong 1085e3bdc6 Update iface->current_mode when fetching new hw_features
When a CHANNEL_LIST_CHANGED event is received, memory of
iface->hw_features is freed and allocated again with
hostapd_get_hw_features(), but iface->current_mode still refer to the
original memory address, which is not correct since that memory has been
freed. This could happen in cases where the driver provides channel list
updates during the lifetime of the started BSS.

Fix this by updated iface->current_mode to point to the new array of hw
features.

Fixes: 0837863fbc ("AP: Handle 6 GHz AP state machine with NO_IR flags")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-08-22 20:56:49 +03:00
..
ap Update iface->current_mode when fetching new hw_features 2023-08-22 20:56:49 +03:00
common Define QCA vendor attribute for high RSSI roam trigger threshold 2023-08-17 18:41:14 +03:00
crypto OpenSSL: Add TLS 1.3 signature algorithms for Suite B 2023-03-22 23:58:47 +02:00
drivers nl80211: Fix beacon rate configuration for legacy rates 36, 48, 54 Mbps 2023-08-18 21:15:41 +03:00
eap_common crypto: Check if crypto_bignum_to_bin() is successful 2022-12-17 12:11:13 +02:00
eap_peer TTLS client: Support phase2_auth=2 2023-07-17 21:25:06 +03:00
eap_server EAP-TTLS server: Add Ident field to MS-CHAP-Error 2023-02-20 19:38:02 +02:00
eapol_auth Do not disconnect EAPOL-Logoff before authentication 2023-05-04 11:10:16 +03:00
eapol_supp Discard unencrypted EAPOL-EAP when TK is set and PMF is enabled 2022-05-07 21:37:08 +03:00
fst FST: More robust bounds checking of local data in fst_dump_mb_ies() 2022-05-08 17:18:58 +03:00
l2_packet Replace "dummy" with "stub" in comments/documentation 2021-10-11 20:52:50 +03:00
p2p P2P: Check p2p_channel_select() return value 2023-07-18 16:15:01 +03:00
pae mka: Allow configuration of MACsec hardware offload 2023-02-21 19:26:47 +02:00
pasn PASN: Introduce configuration option to allow/deny PASN-UNAUTH 2023-05-25 22:54:12 +03:00
radius RADIUS: Add Filter-Id attribute 2022-10-31 11:56:57 +02:00
rsn_supp FTE protected element check for MLO Reassociation Response frame 2023-08-10 12:14:31 +03:00
tls TLS: Fix unsigned int underflow in internal TLS 1.0/1.1 implementation 2022-11-20 19:11:01 +02:00
utils webkit2: Avoid deprecated function call 2023-02-23 16:30:04 +02:00
wps WPS: Optimize attribute parsing workaround 2023-07-18 11:46:57 +03:00
build.rules build: Rebuild libs all the time 2020-10-12 20:18:02 +03:00
lib.rules build: lib.rules: Add common-clean 2020-10-16 12:51:12 +03:00
Makefile PASN: Move initiator changes into a separate file 2022-11-04 00:52:17 +02:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00