Patchwork [1/2] Fix build without CONFIG_CTRL_IFACE or CONFIG_NO_STDOUT_DEBUG

login
register
mail settings
Submitter Solomon Peachy
Date March 11, 2013, 9:34 p.m.
Message ID <1363037698-22826-2-git-send-email-pizza@shaftnet.org>
Download mbox | patch
Permalink /patch/226707/
State Accepted
Commit 7d37a357fab05200003f35ffeb9719c5e936ccd6
Headers show

Comments

Solomon Peachy - March 11, 2013, 9:34 p.m.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
---
 wpa_supplicant/wpa_supplicant.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Jouni Malinen - March 16, 2013, 10:22 a.m.
Thanks, applied.

Patch

diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 42a475f..63b518f 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),