P2P: Specify frequency when sending Probe Response frame
If the RX frequency of the Probe Request frame is known, specify it when sending the Probe Response frame. This is needed when the Probe Request frame is received on another virtual interface, for example, when a GO or P2PS client are discoverable on the group operating channel. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
5d180a7739
commit
0799b3f899
5 changed files with 21 additions and 9 deletions
|
@ -2440,7 +2440,7 @@ p2p_reply_probe(struct p2p_data *p2p, const u8 *addr, const u8 *dst,
|
|||
wpabuf_put_buf(buf, ies);
|
||||
wpabuf_free(ies);
|
||||
|
||||
p2p->cfg->send_probe_resp(p2p->cfg->cb_ctx, buf);
|
||||
p2p->cfg->send_probe_resp(p2p->cfg->cb_ctx, buf, rx_freq);
|
||||
|
||||
wpabuf_free(buf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue