Hi, Here is a set of WiFi tethering related fixes, with previous versions of the first and third patch sent to the mailing list earlier. I also noticed that wpa_supplicant can behave very strangely when adding/removing USB WiFi devices while tethering, especially older versions.
Patch 4/4 got revorked, turns out this seems to be needed for a WiFi to WiFi switch. In this case reference counting needs to happen in order not to use memory that has been freed in between. Cheers, Patrik *** BLURB HERE *** Patrik Flykt (4): wifi: Try to enable tethering for an unused device wifi: Factor out freeing of variables on tethering failure wifi: Set network disconnected in disconnect_callback() wifi: Correctly reference count a pending network plugins/wifi.c | 144 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 81 insertions(+), 63 deletions(-) -- 2.1.4 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman