Description: This patch adds device lost event which will be notified
to applicaiton when DeviceLost is received from supplicant.
Change-Id: I8be965cb68fac61768e8d1bed0a2d43addf4ab39
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
WIFI_DIRECT_CLI_EVENT_DISCOVER_START_SEARCH_LISTEN, /**< search, listen*/
WIFI_DIRECT_CLI_EVENT_DISCOVER_END, /**< */
WIFI_DIRECT_CLI_EVENT_DISCOVER_FOUND_PEERS, /**< */
+ WIFI_DIRECT_CLI_EVENT_DISCOVER_LOST_PEERS, /**< */
WIFI_DIRECT_CLI_EVENT_CONNECTION_START, /**< */
WIFI_DIRECT_CLI_EVENT_CONNECTION_REQ, /**< */
Name: wifi-direct-manager
Summary: Wi-Fi Direct manger
-Version: 1.2.93
+Version: 1.2.94
Release: 1
Group: Network & Connectivity/Wireless
License: Apache-2.0
wfd_remove_peer(manager, event->dev_addr);
memset(¬i, 0x0, sizeof(wifi_direct_client_noti_s));
- noti.event = WIFI_DIRECT_CLI_EVENT_DISCOVER_FOUND_PEERS;
+ snprintf(noti.param1, MACSTR_LEN, MACSTR, MAC2STR(event->dev_addr));
+ noti.event = WIFI_DIRECT_CLI_EVENT_DISCOVER_LOST_PEERS;
noti.error = WIFI_DIRECT_ERROR_NONE;
wfd_client_send_event(manager, ¬i);