mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 16:54:04 -05:00
wpa_gui-qt4: Fix WPS AP detection for peer window
This commit is contained in:
parent
b1078a4bfb
commit
614ff64fe0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user