[openwrt/openwrt] wifi-scripts: fix encryption setting of default OpenWrt SSID
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 8 10:06:09 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/8c895dc4c5be7c76b200b45818811d5aa4de59bb
commit 8c895dc4c5be7c76b200b45818811d5aa4de59bb
Author: Shine <4c.fce2 at proton.me>
AuthorDate: Sun Feb 8 10:41:45 2026 +0100
wifi-scripts: fix encryption setting of default OpenWrt SSID
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 at proton.me>
Link: https://github.com/openwrt/openwrt/pull/21925
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
(cherry picked from commit 4ab5fcc04f7a39cc0a8a7294d825be32ddab1113)
---
package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc b/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc
index 34a7269778..45e7adf4a7 100644
--- a/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc
+++ b/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc
@@ -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;
More information about the lede-commits
mailing list