aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-10-16 15:35:45 (GMT)
committerJouni Malinen <j@w1.fi>2009-10-16 15:35:45 (GMT)
commit43fb529750c0126f2bbbe29e3574b3c614ab6631 (patch)
treefec84cec51b376d00426585e78dd6537a51cd77e /wpa_supplicant/ctrl_iface.c
parentf730b421e90ad8e6d851646fc8c976fa92758014 (diff)
downloadhostap-43fb529750c0126f2bbbe29e3574b3c614ab6631.zip
hostap-43fb529750c0126f2bbbe29e3574b3c614ab6631.tar.gz
hostap-43fb529750c0126f2bbbe29e3574b3c614ab6631.tar.bz2
Add AP mode WPA status into ctrl_iface
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 04972d2..bebb125 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -448,6 +448,13 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
}
}
+#ifdef CONFIG_AP
+ if (wpa_s->ap_iface) {
+ pos += ap_ctrl_iface_wpa_get_status(wpa_s, pos,
+ end - pos,
+ verbose);
+ } else
+#endif /* CONFIG_AP */
pos += wpa_sm_get_status(wpa_s->wpa, pos, end - pos, verbose);
}
ret = os_snprintf(pos, end - pos, "wpa_state=%s\n",