diff --git a/feeds/wifi-ax/hostapd/patches/600-ubus_support.patch b/feeds/wifi-ax/hostapd/patches/600-ubus_support.patch index 0c80c82b2..e0aa18737 100644 --- a/feeds/wifi-ax/hostapd/patches/600-ubus_support.patch +++ b/feeds/wifi-ax/hostapd/patches/600-ubus_support.patch @@ -125,7 +125,7 @@ Index: hostapd-2021-02-20-59e9794c/src/ap/ieee802_11.c goto fail; } + ubus_resp = hostapd_ubus_handle_event(hapd, &req); -+ if (ubus_resp) { ++ if (0 && ubus_resp) { + wpa_printf(MSG_DEBUG, "Station " MACSTR " rejected by ubus handler.\n", + MAC2STR(mgmt->sa)); + resp = ubus_resp > 0 ? (u16) ubus_resp : WLAN_STATUS_UNSPECIFIED_FAILURE; @@ -160,7 +160,7 @@ Index: hostapd-2021-02-20-59e9794c/src/ap/ieee802_11.c #endif /* CONFIG_FILS */ + ubus_resp = hostapd_ubus_handle_event(hapd, &req); -+ if (ubus_resp) { ++ if (0 && ubus_resp) { + wpa_printf(MSG_DEBUG, "Station " MACSTR " assoc rejected by ubus handler.\n", + MAC2STR(mgmt->sa)); + resp = ubus_resp > 0 ? (u16) ubus_resp : WLAN_STATUS_UNSPECIFIED_FAILURE; diff --git a/patches/wifi/0024-hostapd-do-not-send-auth-assoc-error-codes.patch b/patches/wifi/0024-hostapd-do-not-send-auth-assoc-error-codes.patch new file mode 100644 index 000000000..e8ac944af --- /dev/null +++ b/patches/wifi/0024-hostapd-do-not-send-auth-assoc-error-codes.patch @@ -0,0 +1,35 @@ +From 5bd8c37d2a18427ea25e9602db083dfe340076d9 Mon Sep 17 00:00:00 2001 +From: John Crispin +Date: Mon, 27 Feb 2023 13:05:28 +0100 +Subject: [PATCH] hostapd: do not send auth/assoc error codes + +Signed-off-by: John Crispin +--- + .../network/services/hostapd/patches/600-ubus_support.patch | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch +index bf2dec4f07..89e1e72acd 100644 +--- a/package/network/services/hostapd/patches/600-ubus_support.patch ++++ b/package/network/services/hostapd/patches/600-ubus_support.patch +@@ -125,7 +125,7 @@ Index: hostapd-2022-01-16-cff80b4f/src/ap/ieee802_11.c + goto fail; + } + + ubus_resp = hostapd_ubus_handle_event(hapd, &req); +-+ if (ubus_resp) { +++ if (0 && ubus_resp) { + + wpa_printf(MSG_DEBUG, "Station " MACSTR " rejected by ubus handler.\n", + + MAC2STR(mgmt->sa)); + + resp = ubus_resp > 0 ? (u16) ubus_resp : WLAN_STATUS_UNSPECIFIED_FAILURE; +@@ -160,7 +160,7 @@ Index: hostapd-2022-01-16-cff80b4f/src/ap/ieee802_11.c + #endif /* CONFIG_FILS */ + + + ubus_resp = hostapd_ubus_handle_event(hapd, &req); +-+ if (ubus_resp) { +++ if (0 && ubus_resp) { + + wpa_printf(MSG_DEBUG, "Station " MACSTR " assoc rejected by ubus handler.\n", + + MAC2STR(mgmt->sa)); + + resp = ubus_resp > 0 ? (u16) ubus_resp : WLAN_STATUS_UNSPECIFIED_FAILURE; +-- +2.34.1 +