From acfbf1f5d7242c99fdd2423a65f752e2bcd8af17 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 29 Sep 2009 20:51:45 +0300 Subject: [PATCH] wpa_gui-qt4: Fix peer_role_address for AP entry --- wpa_supplicant/wpa_gui-qt4/peers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_gui-qt4/peers.cpp b/wpa_supplicant/wpa_gui-qt4/peers.cpp index adc54f4fa..dc745c3ff 100644 --- a/wpa_supplicant/wpa_gui-qt4/peers.cpp +++ b/wpa_supplicant/wpa_gui-qt4/peers.cpp @@ -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);