1 --- a/hostapd/hostapd_cli.c
2 +++ b/hostapd/hostapd_cli.c
3 @@ -743,7 +743,7 @@ static int wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, const char *cmd,
7 - if (memcmp(buf, "FAIL", 4) == 0)
8 + if (memcmp(buf, "FAIL", 4) == 0 || memcmp(buf, "UNKNOWN COMMAND", 15) == 0)