You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
346 B
13 lines
346 B
--- a/hostapd/hostapd_cli.c
|
|
+++ b/hostapd/hostapd_cli.c
|
|
@@ -743,7 +743,7 @@ static int wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, const char *cmd,
|
|
}
|
|
|
|
buf[len] = '\0';
|
|
- if (memcmp(buf, "FAIL", 4) == 0)
|
|
+ if (memcmp(buf, "FAIL", 4) == 0 || memcmp(buf, "UNKNOWN COMMAND", 15) == 0)
|
|
return -1;
|
|
if (print)
|
|
printf("%s", buf);
|
|
--
|
|
2.11.0
|
|
|