wpa_gui-qt4: Fix WPS AP detection for peer window

This commit is contained in:
Jouni Malinen 2009-09-11 19:06:38 +03:00 committed by Jouni Malinen
parent b1078a4bfb
commit 614ff64fe0

View file

@ -253,7 +253,7 @@ void Peers::add_scan_results()
QStandardItem *item = new QStandardItem(*default_icon, name); QStandardItem *item = new QStandardItem(*default_icon, name);
if (item) { if (item) {
item->setData(QString(reply), peer_role_address); item->setData(QString(reply), peer_role_address);
if (flags.contains("[WPS]")) if (flags.contains("[WPS"))
item->setData(PEER_TYPE_AP_WPS, item->setData(PEER_TYPE_AP_WPS,
peer_role_type); peer_role_type);
else else