OSDN Git Service

Use AP bssid for NL80211_CMD_GET_STATION command
authorNingyuan Wang <nywang@google.com>
Tue, 18 Oct 2016 17:13:20 +0000 (10:13 -0700)
committerNingyuan Wang <nywang@google.com>
Tue, 25 Oct 2016 22:31:45 +0000 (22:31 +0000)
Bug: 32095105
Change-Id: Ic048e3f96a325599001100473948c0e5a3736b2d
Test: compile, runttests.sh

client_interface_impl.cpp

index e5a0b4c..7a1eec1 100644 (file)
@@ -132,7 +132,7 @@ bool ClientInterfaceImpl::GetPacketCounters(vector<int32_t>* out_packet_counters
 bool ClientInterfaceImpl::SignalPoll(vector<int32_t>* out_signal_poll_results) {
   StationInfo station_info;
   if (!netlink_utils_->GetStationInfo(interface_index_,
-                                      interface_mac_addr_,
+                                      bssid_,
                                       &station_info)) {
     return false;
   }