Description: STA-DISCONNECTED event won't be occured when
WFD state is DISCONNECTING.
Change-Id: I0b121b6e06400d8c065f0fd98d7b4ce1aabe0e86
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
peer_mac_address));
}
- } else if (manager->state == WIFI_DIRECT_STATE_DISCONNECTING) {
- g_snprintf(peer_mac_address, MACSTR_LEN, MACSTR, MAC2STR(peer_addr));
- wfd_manager_dbus_emit_signal(WFD_MANAGER_MANAGE_INTERFACE,
- "Disconnection",
- g_variant_new("(iis)", WIFI_DIRECT_ERROR_NONE,
- WFD_EVENT_DISCONNECTION_RSP,
- peer_mac_address));
-
} else if (manager->state == WIFI_DIRECT_STATE_CONNECTING &&
/* Some devices(GO) send disconnection message before connection completed.
* This message should be ignored when device is not GO */