P2P: Fix P2P_CANCEL for p2p_in_invitation case
[mech_eap.git] / wpa_supplicant / p2p_supplicant.c
index 077c5fe..f19bacc 100644 (file)
@@ -7523,6 +7523,7 @@ int wpas_p2p_cancel(struct wpa_supplicant *wpa_s)
                                   wpa_s->ifname);
                        found = 1;
                        wpas_p2p_group_formation_failed(wpa_s, 0);
+                       break;
                }
        }