Right now, when wpa_supplicant is running on ath0 and "/etc/init.d/net.ath0 restart" is run, *THREE* processes appear and try to access the same data simultaneously: 1. /etc/init.d/net.ath0 restart: launched by the user, runs svc_stop then svc_start 2. /etc/init.d/net.ath0 --quiet stop: launched by wpa_cli.sh, happens in response to svc_stop from the user process 3. /etc/init.d/net.ath0 --quiet start: launched by wpa_cli.sh, happens in response to svc_start from the user process On my system, things seem to be happening so quickly such that sometimes the overall order of events goes something like 1, 3, 2 In this case, baselayout is in a confused state even though the network is running.
Created attachment 109979 [details, diff] 1.12 patch
Created attachment 109981 [details, diff] 1.13 patch
not needed for baselayout-2
Fixed in baselayout-2