repeater/internal/wifi/wpasupplicant
Pierre-Olivier Mercier 11ae69de56 wpasupplicant: Disable D-Bus auto-activation on all calls
Every method call and property access to fi.w1.wpa_supplicant1 used flag
0, leaving D-Bus service activation enabled. Any stray request — a startup
race before `service wpa_supplicant start` takes effect, or a leaked call
while the Ethernet uplink is the chosen path — would make the bus daemon
spawn `wpa_supplicant -u` from its .service file, bypassing repeater's own
launch of the daemon.

Route every interaction through callNoAutoStart/getPropNoAutoStart/
setPropNoAutoStart, which set dbus.FlagNoAutoStart. A leaked call now fails
cleanly with ServiceUnknown instead of resurrecting the daemon, leaving
repeater as the sole launcher.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 11:44:59 +08:00
..
backend.go wpasupplicant: Disable D-Bus auto-activation on all calls 2026-07-02 11:44:59 +08:00
bss.go wpasupplicant: Disable D-Bus auto-activation on all calls 2026-07-02 11:44:59 +08:00
dbusutil.go wpasupplicant: Disable D-Bus auto-activation on all calls 2026-07-02 11:44:59 +08:00
interface.go wpasupplicant: Disable D-Bus auto-activation on all calls 2026-07-02 11:44:59 +08:00
network.go wpasupplicant: Disable D-Bus auto-activation on all calls 2026-07-02 11:44:59 +08:00
signals.go Implement wpa_supplicant backend 2026-01-01 23:31:01 +07:00
types.go Implement wpa_supplicant backend 2026-01-01 23:31:01 +07:00