Parcourir la source

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.
Jouni Malinen il y a 14 ans
Parent
commit
266c828e54
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      wpa_supplicant/bgscan_learn.c

+ 1 - 0
wpa_supplicant/bgscan_learn.c

@@ -559,6 +559,7 @@ static void bgscan_learn_notify_signal_change(void *priv, int above,
 					      int current_signal)
 					      int current_signal)
 {
 {
 	struct bgscan_learn_data *data = priv;
 	struct bgscan_learn_data *data = priv;
+	int scan = 0;
 	struct os_time now;
 	struct os_time now;
 
 
 	if (data->short_interval == data->long_interval ||
 	if (data->short_interval == data->long_interval ||