diff options
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r-- | net/mac80211/sta_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 8b6ebee073e2..0bdbf3b8f28b 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -330,6 +330,7 @@ static int sta_info_finish_insert(struct sta_info *sta, bool async) | |||
330 | ieee80211_sta_debugfs_add(sta); | 330 | ieee80211_sta_debugfs_add(sta); |
331 | rate_control_add_sta_debugfs(sta); | 331 | rate_control_add_sta_debugfs(sta); |
332 | 332 | ||
333 | memset(&sinfo, 0, sizeof(sinfo)); | ||
333 | sinfo.filled = 0; | 334 | sinfo.filled = 0; |
334 | sinfo.generation = local->sta_generation; | 335 | sinfo.generation = local->sta_generation; |
335 | cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL); | 336 | cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL); |