P2P: Add provision discovery failure event
Add provisional discovery failure ctrl_iface event (P2P-PROV-DISC-FAILURE) to indicate to the application layer in case of PD failure. Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
This commit is contained in:
parent
b55aca4672
commit
f65a239ba4
2 changed files with 6 additions and 0 deletions
|
@ -1852,6 +1852,10 @@ static void wpas_prov_disc_fail(void *ctx, const u8 *peer,
|
|||
{
|
||||
struct wpa_supplicant *wpa_s = ctx;
|
||||
|
||||
wpa_msg(wpa_s, MSG_INFO, P2P_EVENT_PROV_DISC_FAILURE
|
||||
" p2p_dev_addr=" MACSTR " status=%d",
|
||||
MAC2STR(wpa_s->global->p2p_dev_addr), status);
|
||||
|
||||
wpas_notify_p2p_provision_discovery(wpa_s, peer, 0 /* response */,
|
||||
status, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue