mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
24d0e74627
This brings many changes, including fixes for a couple of memory leaks, and improved interoperability with 802.11r. There are also many changes related to 802.11be, which is not enabled at this time. Fixed upstream: - 022-hostapd-fix-use-of-uninitialized-stack-variables.patch - 180-driver_nl80211-fix-setting-QoS-map-on-secondary-BSSs.patch - 993-2023-10-28-ACS-Fix-typo-in-bw_40-frequency-array.patch Switch PKG_SOURCE_URL to https, since http is not currently working. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> Tested-by: Ilya Katsnelson <me@0upti.me> Tested by: Andrew Sim <andrewsimz@gmail.com>
19 lines
596 B
Diff
19 lines
596 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Date: Thu, 14 Sep 2023 11:28:03 +0200
|
|
Subject: [PATCH] driver_nl80211: update drv->ifindex on removing the first
|
|
BSS
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
---
|
|
|
|
--- a/src/drivers/driver_nl80211.c
|
|
+++ b/src/drivers/driver_nl80211.c
|
|
@@ -8985,6 +8985,7 @@ static int wpa_driver_nl80211_if_remove(
|
|
if (drv->first_bss->next) {
|
|
drv->first_bss = drv->first_bss->next;
|
|
drv->ctx = drv->first_bss->ctx;
|
|
+ drv->ifindex = drv->first_bss->ifindex;
|
|
os_free(bss);
|
|
} else {
|
|
wpa_printf(MSG_DEBUG, "nl80211: No second BSS to reassign context to");
|