]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Continue scanning specified channel with P2P_FIND freq argument
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 13 Mar 2017 10:50:50 +0000 (12:50 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 13 Mar 2017 10:50:50 +0000 (12:50 +0200)
commitd3bb082a73d34870e9f2d4993cc56640e707195d
treed3af1633c65e40768987ab2f8027439c2ec8a0e6
parent98b04522de77983911e94b840ebf6e0ac5b3225c
P2P: Continue scanning specified channel with P2P_FIND freq argument

This makes the "P2P_FIND freq=<MHz>" operation more robust by continuing
to include the specified frequency in the consecutive scan rounds
instead of including it only once in the first scan. In other words, the
first scan is only for the specified frequency just like the previous
behavior, but the following scans include all the social channels and
the specified frequency instead of just the previously used social
channels.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p_i.h