wpa_gui-qt4: Fix peer_role_address for AP entry

This commit is contained in:
Jouni Malinen 2009-09-29 20:51:45 +03:00 committed by Jouni Malinen
parent b55aaa5fdf
commit acfbf1f5d7

View file

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