summaryrefslogtreecommitdiffstats
path: root/wifi/wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/wifi.c')
-rw-r--r--wifi/wifi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/wifi.c b/wifi/wifi.c
index c8142b7..485cd7d 100644
--- a/wifi/wifi.c
+++ b/wifi/wifi.c
@@ -834,7 +834,8 @@ void wifi_close_supplicant_connection(const char *ifname)
}
}
-int wifi_command(const char *ifname, const char *command, char *reply, size_t *reply_len)
+int wifi_command(const char *ifname, char *command, size_t commandlen,
+ char *reply, size_t *reply_len)
{
if (is_primary_interface(ifname)) {
return wifi_send_command(PRIMARY, command, reply, reply_len);