P2P: Send WPS-OVERLAP-DETECTED also to the parent interface
When running "p2p_connect addr pbc join" command, send the WPS-OVERLAP-DETECTED even also to the parent interface (i.e., the one on which the p2p_connect was issued) and not only the group interface in case separate P2P group interfaces are used.
This commit is contained in:
parent
8c2cfd973a
commit
148bb37f2e
1 changed files with 2 additions and 0 deletions
|
@ -3798,6 +3798,8 @@ int wpas_p2p_notif_pbc_overlap(struct wpa_supplicant *wpa_s)
|
|||
|
||||
wpa_printf(MSG_DEBUG, "P2P: Terminate connection due to WPS PBC "
|
||||
"session overlap");
|
||||
if (wpa_s != wpa_s->parent)
|
||||
wpa_msg_ctrl(wpa_s->parent, MSG_INFO, WPS_EVENT_OVERLAP);
|
||||
wpas_group_formation_completed(wpa_s, 0);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue