bgscan-simple: Poll for signal in init
authorPaul Stewart <pstew@google.com>
Thu, 31 Mar 2011 15:02:37 +0000 (18:02 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 31 Mar 2011 15:02:37 +0000 (18:02 +0300)
commitdb03ddacffb7fadc5949b2fc37cdbd1aac5b3f6d
tree60e4685240f0002343299637135ea47a72a08764
parent1c5c7273f55d7ce867bd29558dcd0ebef9264ea1
bgscan-simple: Poll for signal in init

It is not guaranteed that we will get a CQM signal shortly after setting
up monitoring. In order to establish the correct initial background
scanning rate, poll directly for the signal strength.

Signed-off-by: Paul Stewart
wpa_supplicant/bgscan_simple.c