aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-08-21 17:27:22 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-08-21 17:27:22 -0700
commit0328fcc6e4736aaad055e6df22a03e856ef1c14b (patch)
tree55babd5763099d736b54bfab4520c0bd51dce988
parent6fd24dba6b4d80569e64b9efb75624b9c458d9a5 (diff)
downloadexternal_wpa_supplicant_8-0328fcc6e4736aaad055e6df22a03e856ef1c14b.zip
external_wpa_supplicant_8-0328fcc6e4736aaad055e6df22a03e856ef1c14b.tar.gz
external_wpa_supplicant_8-0328fcc6e4736aaad055e6df22a03e856ef1c14b.tar.bz2
wpa_supplicant: Fix wpa_drv_pktcnt_poll() call
Change-Id: I265b095235890be623090272a81e67123ff86185 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--wpa_supplicant/driver_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 4f2ec79..82a7bcb 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -467,7 +467,7 @@ static inline int wpa_drv_pktcnt_poll(struct wpa_supplicant *wpa_s,
struct hostap_sta_driver_data *sta)
{
if (wpa_s->driver->read_sta_data)
- return wpa_s->driver->read_sta_data(wpa_s->drv_priv, sta, wpa_s->own_addr);
+ return wpa_s->driver->read_sta_data(wpa_s->drv_priv, sta, wpa_s->bssid);
return -1;
}