cfg80211: release station info tidstats where needed
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 09:40:44 +0000 (11:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 10:37:55 +0000 (12:37 +0200)
commit7ea3e110f2f8ba23f330c2f702f556acd539bcb8
tree8619eac094435ad790ee411991a3a4bd8f69f5b4
parent0fdf1493b41eb64fc7e8c8e1b8830a4bd8c4bbca
cfg80211: release station info tidstats where needed

This fixes memory leaks in cases where we got the station
info but failed sending it out properly.

Fixes: 8689c051a201 ("cfg80211: dynamically allocate per-tid stats for station info")
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c