aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-01-25 02:23:00 (GMT)
committerJouni Malinen <j@w1.fi>2005-01-25 02:23:00 (GMT)
commit4016d875338b703ef72dc28922c7df9389efd96e (patch)
tree9bd228b71eb9b27d420e62fcec662de94cce5770
parent77c2bf10699aa65dffe45de04041849b0a8df96a (diff)
downloadhostap-history-4016d875338b703ef72dc28922c7df9389efd96e.zip
hostap-history-4016d875338b703ef72dc28922c7df9389efd96e.tar.gz
hostap-history-4016d875338b703ef72dc28922c7df9389efd96e.tar.bz2
Fixed a busy loop introduced in v0.3.5 for scan result processing
when no matching AP is found.
-rw-r--r--wpa_supplicant/ChangeLog4
-rw-r--r--wpa_supplicant/wpa_supplicant.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog
index 982d8eb..1e020c9 100644
--- a/wpa_supplicant/ChangeLog
+++ b/wpa_supplicant/ChangeLog
@@ -1,5 +1,9 @@
ChangeLog for wpa_supplicant
+2005-01-24 - v0.3.6
+ * fixed a busy loop introduced in v0.3.5 for scan result processing
+ when no matching AP is found
+
2005-01-23 - v0.3.5
* added a workaround for an interoperability issue with a Cisco AP
when using WPA2-PSK
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 54ed30e..fa22a8c 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -47,7 +47,7 @@
#include "pcsc_funcs.h"
static const char *wpa_supplicant_version =
-"wpa_supplicant v0.3.5 - Copyright (c) 2003-2005, Jouni Malinen "
+"wpa_supplicant v0.3.6 - Copyright (c) 2003-2005, Jouni Malinen "
"<jkmaline@cc.hut.fi>";
static const char *wpa_supplicant_license =
@@ -1738,6 +1738,8 @@ static void wpa_supplicant_scan_results(struct wpa_supplicant *wpa_s)
wpa_printf(MSG_DEBUG, "No APs found - clear blacklist "
"and try again");
wpa_blacklist_clear(wpa_s);
+ } else if (selected == NULL) {
+ break;
}
}