1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/config/wifi-scripts
Nick Hainke 00e6c18a93 wifi-scripts: ucode: fix wpa_supplicant mesh
Mesh interfaces may not define an encryption setting. This results in
a ucode runtime error when parse_encryption() is called:
  Reference error: left-hand side expression is null
  In parse_encryption(), file /usr/share/ucode/wifi/iface.uc, line 20, byte 32:
    called from function setup_sta (/usr/share/ucode/wifi/supplicant.uc:59:31)
    called from function generate (/usr/share/ucode/wifi/supplicant.uc:243:41)
    called from function setup (./mac80211.sh:254:61)
    called from anonymous function (./mac80211.sh:342:14)
   `    config.auth_type = encryption[0] ?? 'none';`
    Near here ------------------------^

Link: https://github.com/openwrt/openwrt/pull/21293
Signed-off-by: Nick Hainke <vincent@systemli.org>
2025-12-25 22:00:38 +01:00
..
files wifi-scripts: fix macaddr check in mac80211.uc 2025-12-25 17:00:12 +01:00
files-ucode wifi-scripts: ucode: fix wpa_supplicant mesh 2025-12-25 22:00:38 +01:00
Config.in wifi-scripts: enable ucode scripts by default 2025-09-24 13:45:40 +02:00
Makefile wifi-scripts: add ucode based scripts 2024-12-02 13:55:36 +01:00