P2P: Fix scan optimization for GO during persistent group invocation
authorRashmi Ramanna <c_ramanr@qti.qualcomm.com>
Tue, 13 May 2014 10:44:18 +0000 (16:14 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 13 May 2014 12:49:06 +0000 (15:49 +0300)
commit28fa4eb2b2dd971321e49591aade07d56695cf3e
treee942feaf2e48992752d7dd3a6341905f1f03ebe4
parent7b42862ac87f333b0efb0f0bae822dcdf606bc69
P2P: Fix scan optimization for GO during persistent group invocation

Commit 41d5ce9e0b7b37dd84fbf3c1aa5ed571c32321d4 was intended to scan for
GO on the negotiated channel for few iterations, but it did not work
correctly due to incorrect operator being used. Fix this by requiring
both conditions to be met for the single channel scan.

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