Commit graph

6 commits

Author SHA1 Message Date
0797f7dd50 wpa_supplicant: Use log package and tolerate GetNetworks failures
Switch warning prints to the log package for consistent output, and
fall back to AddNetwork when listing existing networks fails instead
of aborting Connect entirely.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 22:14:38 +08:00
77370eff19 wpa_supplicant: Reuse existing networks and preserve saved ones on connect
Connect() called AddNetwork unconditionally, creating duplicate entries for
the same SSID, and SelectNetwork's side-effect of disabling all other
networks was being persisted by SaveConfig — making previously saved
networks appear erased. Disconnect() also removed the current network from
the config. Now reuse an existing network entry when the SSID matches,
re-enable other networks after SelectNetwork, and keep entries on
disconnect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 18:25:30 +08:00
4414c99da9 wpa_supplicant: Save config after successfull connection 2026-01-02 18:03:16 +07:00
5532457cdf wpa_supplicant: Fix connection 2026-01-02 17:54:07 +07:00
10a7998495 wpa_supplicant: Fix detection of open networks 2026-01-02 17:53:52 +07:00
04ada45f44 Implement wpa_supplicant backend 2026-01-01 23:31:01 +07:00