diff --git a/wpa_supplicant/wpa_gui-qt4/peers.cpp b/wpa_supplicant/wpa_gui-qt4/peers.cpp index 9f330ab86..adc54f4fa 100644 --- a/wpa_supplicant/wpa_gui-qt4/peers.cpp +++ b/wpa_supplicant/wpa_gui-qt4/peers.cpp @@ -253,7 +253,7 @@ void Peers::add_scan_results() QStandardItem *item = new QStandardItem(*default_icon, name); if (item) { item->setData(QString(reply), peer_role_address); - if (flags.contains("[WPS]")) + if (flags.contains("[WPS")) item->setData(PEER_TYPE_AP_WPS, peer_role_type); else