P2P: Verify operating channel validity for NFC connection handover
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 25 Apr 2014 20:09:56 +0000 (23:09 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 29 Apr 2014 09:52:10 +0000 (12:52 +0300)
commitd06e9ac5f551a59928cad50802f7638b790f9b59
treeb856c5a61a76ee41152b26555af1c728896c967a
parentbefd671c9c1427e8a8c16a52f14c2a3e29871be1
P2P: Verify operating channel validity for NFC connection handover

p2p_freq_to_channel() could return an error if the GO or P2P Client
operating channel is not valid. Check for this before generating the NFC
handover message.

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