mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
P2P: Use the P2P Device interface in wpas_p2p_fallback_to_go_neg()
Previously the wpa_s->parent interface was used, which is not necessarily the P2P Device management interface. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
5590d2ecd1
commit
de7b02fd18
@ -7111,7 +7111,7 @@ static int wpas_p2p_fallback_to_go_neg(struct wpa_supplicant *wpa_s,
|
||||
|
||||
if (wpa_s->global->p2p_group_formation)
|
||||
group = wpa_s->global->p2p_group_formation;
|
||||
wpa_s = wpa_s->parent;
|
||||
wpa_s = wpa_s->global->p2p_init_wpa_s;
|
||||
offchannel_send_action_done(wpa_s);
|
||||
if (group_added)
|
||||
ret = wpas_p2p_group_delete(group, P2P_GROUP_REMOVAL_SILENT);
|
||||
|
Loading…
Reference in New Issue
Block a user