A possible reason may be the "rmmod" can't be executed properly when disable WIFI from UI, although it works well from the command line.
After last "enable-disable" test, I power off the board then power it on, then the board reboot. But after this, it shows that the wireless connection has been established and I also can see the Google main page. I think the board WIFI last status from a previous "enable-disable" test is "enabled".
The weird thing is this issue won't happen every time. At least once or twice, I execute the "enable-disable" actions successfully. But with the more times I repeat, it's finally failed. And I also find there are 2 entrance points to enable WIFI from UI, 1 is in the "Wireless & Networks" and another one is in the "Wi-Fi Settings". I got 1 or 2 times success to do the "enable-disable" from "Wi-Fi Settings", but all failed from "Wireless & Networks". It should be the same in logical to enable and disable WIFI from both interfaces, isn't it?
A possible reason may be the "rmmod" can't be executed properly when disable WIFI from UI, although it works well from the command line.
After last "enable-disable" test, I power off the board then power it on, then the board reboot. But after this, it shows that the wireless connection has been established and I also can see the Google main page. I think the board WIFI last status from a previous "enable-disable" test is "enabled".
The weird thing is this issue won't happen every time. At least once or twice, I execute the "enable-disable" actions successfully. But with the more times I repeat, it's finally failed. And I also find there are 2 entrance points to enable WIFI from UI, 1 is in the "Wireless & Networks" and another one is in the "Wi-Fi Settings". I got 1 or 2 times success to do the "enable-disable" from "Wi-Fi Settings", but all failed from "Wireless & Networks". It should be the same in logical to enable and disable WIFI from both interfaces, isn't it?
You can find the log in attachment.