P2P: Debug print channel lists for invitation processing
This makes invitation process more consistent with GO Negotiation as far as the debug log entries are concerned and the resulting log is more helpful for understanding channel selection. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4eb3b76b0f
commit
114153b975
1 changed files with 3 additions and 0 deletions
|
@ -227,8 +227,11 @@ void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa,
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels);
|
||||||
|
p2p_channels_dump(p2p, "peer channels", &dev->channels);
|
||||||
p2p_channels_intersect(&p2p->cfg->channels, &dev->channels,
|
p2p_channels_intersect(&p2p->cfg->channels, &dev->channels,
|
||||||
&intersection);
|
&intersection);
|
||||||
|
p2p_channels_dump(p2p, "intersection", &intersection);
|
||||||
|
|
||||||
if (p2p->cfg->invitation_process) {
|
if (p2p->cfg->invitation_process) {
|
||||||
status = p2p->cfg->invitation_process(
|
status = p2p->cfg->invitation_process(
|
||||||
|
|
Loading…
Reference in a new issue