aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-09-28 14:19:30 (GMT)
committerJouni Malinen <j@w1.fi>2013-09-28 14:19:30 (GMT)
commita771c07dfc621c5fdd1483643fcc467d760d5e9d (patch)
treeb738b91a35a42ae4d60ebb5aa8df9a7100527974 /wpa_supplicant/wpa_cli.c
parent739faee2a99184c8b2608dc7618a22442375a3c0 (diff)
downloadhostap-a771c07dfc621c5fdd1483643fcc467d760d5e9d.zip
hostap-a771c07dfc621c5fdd1483643fcc467d760d5e9d.tar.gz
hostap-a771c07dfc621c5fdd1483643fcc467d760d5e9d.tar.bz2
Add driver status information to control interface
STATUS-DRIVER command can now be used to fetch driver interface status information. This is mainly for exporting low-level driver interface information for debug purposes. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 65ca9a3..f84d198 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -496,6 +496,8 @@ static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[])
return wpa_ctrl_command(ctrl, "STATUS-VERBOSE");
if (argc > 0 && os_strcmp(argv[0], "wps") == 0)
return wpa_ctrl_command(ctrl, "STATUS-WPS");
+ if (argc > 0 && os_strcmp(argv[0], "driver") == 0)
+ return wpa_ctrl_command(ctrl, "STATUS-DRIVER");
return wpa_ctrl_command(ctrl, "STATUS");
}