aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/nl80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 253e56319d7e..080fd470fdec 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2267,6 +2267,7 @@ static int nl80211_dump_station(struct sk_buff *skb,
2267 } 2267 }
2268 2268
2269 while (1) { 2269 while (1) {
2270 memset(&sinfo, 0, sizeof(sinfo));
2270 err = dev->ops->dump_station(&dev->wiphy, netdev, sta_idx, 2271 err = dev->ops->dump_station(&dev->wiphy, netdev, sta_idx,
2271 mac_addr, &sinfo); 2272 mac_addr, &sinfo);
2272 if (err == -ENOENT) 2273 if (err == -ENOENT)