diff --git a/wpa_supplicant/wpa_gui-qt4/peers.cpp b/wpa_supplicant/wpa_gui-qt4/peers.cpp index 6cfb7a66e..a0ff7e43d 100644 --- a/wpa_supplicant/wpa_gui-qt4/peers.cpp +++ b/wpa_supplicant/wpa_gui-qt4/peers.cpp @@ -145,7 +145,8 @@ void Peers::update_peers() while (*txt != '\0' && *txt != '\n') txt++; *txt++ = '\0'; - if (strncmp(reply, "FAIL", 4) == 0) + if (strncmp(reply, "FAIL", 4) == 0 || + strncmp(reply, "UNKNOWN", 7) == 0) break; QStringList lines = info.split(QRegExp("\\n"));