bgscan learn: Fix build
authorJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 12:59:06 +0000 (05:59 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 12:59:06 +0000 (05:59 -0700)
Commit 9ff80a10e8009c0dc65a4b7e08dcf1655cd2a483 forgot to include the
new scan variable in the coded copied from bgscan_simple.c. Add that
here to fix the build.

wpa_supplicant/bgscan_learn.c

index 273124f..492ce38 100644 (file)
@@ -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 ||