1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/config
Rany Hany 2d7a6017f1 wifi-scripts: ucode: fix bug moving to empty wifi-station config
When transitioning from a config with one or more wifi-stations, to a configuration
that has no wifi-station; the file would not be empty/reset and the old wifi-station
entries would remain.

This is because iface_wpa_stations and iface_sae_stations return early if there
are no wifi-stations present, which is an incorrect behavior as it causes the
file to actually have old entries.

'sae_password_file' and 'wpa_psk_file' are also set by default inside
of iface_auth_type to same path as the one used by wifi-station, so it
is indeed going to be set in the config and would contain the old
entries.

This happens with reload and wifi restart. So the only solution
would be to manually remove the file.

Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/20700
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-11-25 11:46:12 +01:00
..
firewall firewall: config: add dest addr restrictions for DHCPv6 rules 2025-11-10 15:23:16 +01:00
firewall4 firewall4: update to Git HEAD (2025-03-17) 2025-03-30 18:35:22 +02:00
gre gre: use alternative way to check if kernel support is enabled 2021-03-13 20:58:55 +01:00
ipip ipip: add 'nohostroute' option 2022-01-19 20:57:59 +01:00
ltq-adsl-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr9-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr11-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
netifd netifd: update to Git HEAD (2025-10-20) 2025-10-21 07:24:46 +02:00
qos-scripts treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
qosify package: use service_running instead of service_started for ubus config 2025-03-13 11:23:03 +01:00
soloscli soloscli: fix uci-defaults file 2020-06-11 01:49:24 +02:00
swconfig swconfig: fix memory leak when cli call swlib_get_attr() 2023-06-11 02:42:31 +02:00
vti vti: squash vtiv4 and vtiv6 packages into vti 2021-11-03 20:34:43 +01:00
vxlan vxlan: allow for dynamic source ip selection (FS#3426) 2020-12-31 11:53:21 +01:00
wifi-scripts wifi-scripts: ucode: fix bug moving to empty wifi-station config 2025-11-25 11:46:12 +01:00
xfrm xfrm: remove requirement for underlying device 2024-08-19 18:49:49 +02:00