Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Stricter WiFi callback #4616
Possibly needs testing on Cervantes, as @pazos suggested.
Appears to behave on Kobo, but then I don't have connectivity/password issues, so the extent of my test was inverting the logic to kill wifi on a successful connection ;).
The Kindle case should be harmless (and beneficial there too, because ET call home).
Limit the whole thing to Kobo/Cervantes, the only two platforms where we load/unload kernel modules.
Because the connection check could be actively harmful on platforms where WiFi handling is always asynchronous, as there's a good chance the callback will run before WiFi is properly brought up.