P2P: Fix PD retry channel on join-a-group case
Join-a-group needs to force the current operating channel of the target group as the frequency to use for the PD exchange. When the channel was selected based on a BSS entry for the GO, this worked only for the first PD Request frame while the retries reverted to a potentially different channel based on a P2P peer entry. Fix this by maintaining the forced channel through the PD retry sequence. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
033e48ee2d
commit
8d82c2105b
3 changed files with 12 additions and 1 deletions
|
@ -2664,7 +2664,8 @@ static void p2p_retry_pd(struct p2p_data *p2p)
|
|||
MAC2STR(dev->info.p2p_device_addr),
|
||||
dev->req_config_methods);
|
||||
p2p_send_prov_disc_req(p2p, dev,
|
||||
dev->flags & P2P_DEV_PD_FOR_JOIN, 0);
|
||||
dev->flags & P2P_DEV_PD_FOR_JOIN,
|
||||
p2p->pd_force_freq);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue