|
@@ -330,6 +330,7 @@ static int sta_info_finish_insert(struct sta_info *sta, bool async)
|
|
ieee80211_sta_debugfs_add(sta);
|
|
ieee80211_sta_debugfs_add(sta);
|
|
rate_control_add_sta_debugfs(sta);
|
|
rate_control_add_sta_debugfs(sta);
|
|
|
|
|
|
|
|
+ memset(&sinfo, 0, sizeof(sinfo));
|
|
sinfo.filled = 0;
|
|
sinfo.filled = 0;
|
|
sinfo.generation = local->sta_generation;
|
|
sinfo.generation = local->sta_generation;
|
|
cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL);
|
|
cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL);
|