P2P: Avoid unsafe pre-configured channel as channel preference
authorArif Hussain <c_arifh@qca.qualcomm.com>
Fri, 21 Mar 2014 07:38:23 +0000 (00:38 -0700)
committerJouni Malinen <j@w1.fi>
Sat, 22 Mar 2014 08:20:08 +0000 (10:20 +0200)
commit94b84bc7253680a2b201d5c88d36ada91a3e20b4
treec0d89f218ad7a92fff5b18cedc0b7c72af597da8
parentd3c9c35f32950a9636c3fe4b875e4189f838fc3b
P2P: Avoid unsafe pre-configured channel as channel preference

Do not select pre-configured channel as operating channel preference if
it is unavailable maybe due to interference or possible known
co-existence constraints, and try to select random available channel.

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