aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-03-16 10:07:18 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-16 10:07:18 (GMT)
commit7d37a357fab05200003f35ffeb9719c5e936ccd6 (patch)
treeccc8a919e2c69e442f3da17e30fe0be991097a45 /wpa_supplicant
parent526b3a12f13b1fc925a55eb9c484c77b515a4e4a (diff)
downloadhostap-7d37a357fab05200003f35ffeb9719c5e936ccd6.zip
hostap-7d37a357fab05200003f35ffeb9719c5e936ccd6.tar.gz
hostap-7d37a357fab05200003f35ffeb9719c5e936ccd6.tar.bz2
Fix build without CONFIG_CTRL_IFACE or CONFIG_NO_STDOUT_DEBUG
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 908d798..da1a19c 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -655,8 +655,8 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s,
wpa_supplicant_notify_scanning(wpa_s, 0);
if (state == WPA_COMPLETED && wpa_s->new_connection) {
-#if defined(CONFIG_CTRL_IFACE) || !defined(CONFIG_NO_STDOUT_DEBUG)
struct wpa_ssid *ssid = wpa_s->current_ssid;
+#if defined(CONFIG_CTRL_IFACE) || !defined(CONFIG_NO_STDOUT_DEBUG)
wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_CONNECTED "- Connection to "
MACSTR " completed [id=%d id_str=%s]",
MAC2STR(wpa_s->bssid),