projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.10.81' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
wireless
/
wext-compat.c
diff --git
a/net/wireless/wext-compat.c
b/net/wireless/wext-compat.c
index d997d0f0c54a683fb0aee287d44fc79d4b15230d..18a7a7b112ef6e06f7a9e19da0fc919ae88c9cf6 100644
(file)
--- a/
net/wireless/wext-compat.c
+++ b/
net/wireless/wext-compat.c
@@
-1345,6
+1345,8
@@
static struct iw_statistics *cfg80211_wireless_stats(struct net_device *dev)
memcpy(bssid, wdev->current_bss->pub.bssid, ETH_ALEN);
wdev_unlock(wdev);
+ memset(&sinfo, 0, sizeof(sinfo));
+
if (rdev_get_station(rdev, dev, bssid, &sinfo))
return NULL;