When there is no new ctrl interface fi.w1.supplicant1 from wpa_supplicant,
Connman can't get networks from wireless device. Because priority of wifi-legacy
plugin is lower than wifi plugin,so its network driver will be registered 
failed,
then it can't receive signals from old ctrl interface of wpa_supplicant.

---
 gsupplicant/supplicant.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 96f4d83..125e553 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2623,8 +2623,10 @@ int g_supplicant_register(const GSupplicantCallbacks 
*callbacks)
                supplicant_dbus_property_get_all(SUPPLICANT_PATH,
                                                SUPPLICANT_INTERFACE,
                                                service_property, NULL);
-       } else
+       } else {
                invoke_introspect_method();
+               return -EIO;
+       }
 
        return 0;
 }
-- 
1.7.0.4

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to