]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Debug print channel lists for invitation processing
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 29 May 2014 13:45:48 +0000 (16:45 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 29 May 2014 13:46:28 +0000 (16:46 +0300)
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>
src/p2p/p2p_invitation.c

index cb77aee3b7b62064aa8735e75edc300518788fb4..a36898e99ea085ba595601e45a9eb8968d81301b 100644 (file)
@@ -227,8 +227,11 @@ void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa,
                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,
                               &intersection);
+       p2p_channels_dump(p2p, "intersection", &intersection);
 
        if (p2p->cfg->invitation_process) {
                status = p2p->cfg->invitation_process(