wpa_gui-qt4: Fix peer_role_address for AP entry
This commit is contained in:
parent
b55aaa5fdf
commit
acfbf1f5d7
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,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(bssid, 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);
|
||||||
|
|
Loading…
Reference in a new issue