]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: fix encryption setting of default OpenWrt SSID 21925/head
authorShine <4c.fce2@proton.me>
Sun, 8 Feb 2026 09:41:45 +0000 (10:41 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Feb 2026 18:04:24 +0000 (19:04 +0100)
Commit 01a87f4bd0cdbfc84bbc172920e865c1600f7a45 changed the encryption
setting of the default SSID "OpenWrt" from "none" to "open". The correct
setting as per the documentation [1] is "none", though.
While this invalid setting won't cause a wrong hostapd setup, it will
at least cause malfunction in LuCI.

Change the default encryption setting back to "none".

[1] https://openwrt.org/docs/guide-user/network/wifi/basic#encryption_modes

Fixes: 01a87f4bd0cdbfc84bbc172920e865c1600f7a45
Signed-off-by: Shine <4c.fce2@proton.me>
Link: https://github.com/openwrt/openwrt/pull/21925
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc

index 5b202b4742a94fb7d31f577872d3d8313b801595..d61786fa65023521d16fdf6bc499c2d26ee2d275 100644 (file)
@@ -83,7 +83,7 @@ for (let phy_name, phy in board.wlan) {
                        country = '00';
                        encryption = 'owe';
                } else {
-                       encryption = 'open';
+                       encryption = 'none';
                }
                if (board.wlan.defaults) {
                        defaults = board.wlan.defaults.ssids?.[band_name]?.ssid ? board.wlan.defaults.ssids?.[band_name] : board.wlan.defaults.ssids?.all;