This will be possible then to get those services and ask the peer core
to raise a proper DBus update on it.
---
 gsupplicant/gsupplicant.h | 1 +
 plugins/wifi.c            | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index ca4f05d..29e54b6 100644
--- a/gsupplicant/gsupplicant.h
+++ b/gsupplicant/gsupplicant.h
@@ -120,6 +120,7 @@ typedef enum {
 } GSupplicantWpsState;
 
 typedef enum {
+       G_SUPPLICANT_PEER_SERVICES_CHANGED,
        G_SUPPLICANT_PEER_GROUP_CHANGED,
        G_SUPPLICANT_PEER_GROUP_STARTED,
        G_SUPPLICANT_PEER_GROUP_FINISHED,
diff --git a/plugins/wifi.c b/plugins/wifi.c
index db76535..7b19673 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2677,6 +2677,8 @@ static void peer_changed(GSupplicantPeer *peer, 
GSupplicantPeerState state)
                return;
 
        switch (state) {
+       case G_SUPPLICANT_PEER_SERVICES_CHANGED:
+               return;
        case G_SUPPLICANT_PEER_GROUP_CHANGED:
                if (!g_supplicant_peer_is_in_a_group(peer))
                        p_state = CONNMAN_PEER_STATE_IDLE;
-- 
1.8.5.5

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to