[PATCH] hostapd_cli: Remove duplicate const in hostapd_cli_cmd
dimitrysh at google.com
dimitrysh at google.com
Mon Oct 24 12:41:47 PDT 2016
From d7c996f18bd7bf9da1d52aa4ebfbed28b32a4588 Mon Sep 17 00:00:00 2001
From: Dmitry Shmidt <dimitrysh at google.com>
Date: Mon, 24 Oct 2016 12:36:06 -0700
Subject: [PATCH] hostapd_cli: Remove duplicate const in hostapd_cli_cmd
Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
hostapd/hostapd_cli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hostapd/hostapd_cli.c b/hostapd/hostapd_cli.c
index 4199267..9a6e3cb 100644
--- a/hostapd/hostapd_cli.c
+++ b/hostapd/hostapd_cli.c
@@ -221,7 +221,7 @@ static inline int wpa_ctrl_command(struct wpa_ctrl
*ctrl, const char *cmd)
}
-static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const const char *cmd,
+static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd,
int min_args, int argc, char *argv[])
{
char buf[4096];
--
2.8.0.rc3.226.g39d4020
More information about the Hostap
mailing list