]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Use the first pref_chan entry as operating channel preference
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 26 Aug 2013 11:10:23 +0000 (14:10 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 11:10:23 +0000 (14:10 +0300)
commit6701fdc37ff87ac62b5ae425d26aec9777d1ef08
tree848e0e0c1c51df8df4ff289a74aa1aa66efecfe3
parent99d7c76294a6020ec5cbd2a036ba00eed1ec3e3b
P2P: Use the first pref_chan entry as operating channel preference

If there are no higher priority preference for the operating channel,
use the first pref_chan entry as the operating channel preference over
the pre-configured channel which is not really a good indication of
preference. This changes the behavior for GO Negotiation Request frame
operating channel preference value in cases where p2p_pref_chan list is
set.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c