From d9340555b1b9c151f6bfb3007212dba52096fa99 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 3 Oct 2026 10:55:38 +0200 Subject: [PATCH] wifi-scripts: declare the rsn_override option in the schema Commit adb1fce19b6c ("wifi-scripts: set rsn_overriding for client mode interfaces") made setup_sta() write rsn_overriding=1 for a station with rsn_override set and an HE or EHT htmode. The wifi-iface schema did not declare rsn_override, so netifd dropped the option before the handler ran, and that branch could not be reached. Declare it as a boolean without a default. Fixes: adb1fce19b6c ("wifi-scripts: set rsn_overriding for client mode interfaces") Signed-off-by: Felix Fietkau --- .../files-ucode/usr/share/schema/wireless.wifi-iface.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json index 6954b50feb1..1d71d7e3211 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json @@ -1013,6 +1013,10 @@ "type": "string" } }, + "rsn_override": { + "description": "Station mode with an HE or EHT htmode: use the RSNE Override elements of the AP (RSN overriding, wpa_supplicant rsn_overriding=1)", + "type": "boolean" + }, "rsn_preauth": { "type": "boolean" },