---
Hi,

@Daniel: have a test with that one. Let's see if that solves somehow the issue
But I doubt about it due to: 

connmand[22118]: gsupplicant/supplicant.c:signal_interface_changed() 
connmand[22118]: gsupplicant/supplicant.c:interface_property() State
connmand[22118]: plugins/wifi.c:interface_state() wifi 0x248ee30 interface 
state 5
connmand[22118]: plugins/wifi.c:stop_autoscan() 
connmand[22118]: src/network.c:connman_network_set_associating() network 
0x24a6d70 associating 1
connmand[22118]: plugins/wifi.c:interface_state() DONE
connmand[22118]: gsupplicant/supplicant.c:interface_property() state 
associating (5)
connmand[22118]: src/rtnl.c:rtnl_message() buf 0x7fff65228190 len 996
connmand[22118]: src/rtnl.c:rtnl_message() NEWLINK len 996 type 16 flags 0x0000 
seq 0
connmand[22118]: src/ipconfig.c:__connman_ipconfig_newlink() index 3
connmand[22118]: wlan0 {RX} 1567882 packets 642604045 bytes
connmand[22118]: wlan0 {TX} 292207 packets 30297086 bytes
connmand[22118]: wlan0 {update} flags 4099 <UP>
connmand[22118]: src/service.c:service_lower_down() wlan0 lower down
connmand[22118]: src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0x24a76e0
connmand[22118]: src/ipconfig.c:__connman_ipconfig_unref_debug() 0x24a76e0 ref 
1 by src/ipconfig.c:1761:__connman_ipconfig_disable()
connmand[22118]: src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0x24a7740
connmand[22118]: src/ipconfig.c:disable_ipv6() 
connmand[22118]: src/ipconfig.c:__connman_ipconfig_unref_debug() 0x24a7740 ref 
1 by src/ipconfig.c:1774:__connman_ipconfig_disable()

Here it's definitely independant from wifi plugin (it comes from rtnl)

 plugins/wifi.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/plugins/wifi.c b/plugins/wifi.c
index d10612c..1e42ab0 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1180,7 +1180,11 @@ static void interface_state(GSupplicantInterface 
*interface)
        case G_SUPPLICANT_STATE_ASSOCIATING:
                stop_autoscan(device);
 
-               connman_network_set_associating(network, TRUE);
+               if (wifi->state != G_SUPPLICANT_STATE_COMPLETED)
+                       connman_network_set_associating(network, TRUE);
+               else
+                       connman_warn("We might be roaming right now");
+
                break;
 
        case G_SUPPLICANT_STATE_COMPLETED:
-- 
1.7.8.5

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to