aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-09-09 12:59:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 12:59:06 (GMT)
commit266c828e54b2fe6079840306308ec1eb349b5ab3 (patch)
tree0d00dd64c680e6975dd02441398bbd0db58a8fb9
parenta0fad21014923a9b7b36ebeebb623f3cbb44e076 (diff)
downloadhostap-266c828e54b2fe6079840306308ec1eb349b5ab3.zip
hostap-266c828e54b2fe6079840306308ec1eb349b5ab3.tar.gz
hostap-266c828e54b2fe6079840306308ec1eb349b5ab3.tar.bz2
bgscan learn: Fix build
Commit 9ff80a10e8009c0dc65a4b7e08dcf1655cd2a483 forgot to include the new scan variable in the coded copied from bgscan_simple.c. Add that here to fix the build.
-rw-r--r--wpa_supplicant/bgscan_learn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/bgscan_learn.c b/wpa_supplicant/bgscan_learn.c
index 273124f..492ce38 100644
--- a/wpa_supplicant/bgscan_learn.c
+++ b/wpa_supplicant/bgscan_learn.c
@@ -559,6 +559,7 @@ static void bgscan_learn_notify_signal_change(void *priv, int above,
int current_signal)
{
struct bgscan_learn_data *data = priv;
+ int scan = 0;
struct os_time now;
if (data->short_interval == data->long_interval ||