Fix build without CONFIG_CTRL_IFACE or CONFIG_NO_STDOUT_DEBUG
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
This commit is contained in:
parent
526b3a12f1
commit
7d37a357fa
1 changed files with 1 additions and 1 deletions
|
@ -655,8 +655,8 @@ void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s,
|
||||||
wpa_supplicant_notify_scanning(wpa_s, 0);
|
wpa_supplicant_notify_scanning(wpa_s, 0);
|
||||||
|
|
||||||
if (state == WPA_COMPLETED && wpa_s->new_connection) {
|
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;
|
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 "
|
wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_CONNECTED "- Connection to "
|
||||||
MACSTR " completed [id=%d id_str=%s]",
|
MACSTR " completed [id=%d id_str=%s]",
|
||||||
MAC2STR(wpa_s->bssid),
|
MAC2STR(wpa_s->bssid),
|
||||||
|
|
Loading…
Reference in a new issue