aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel_ht.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-06 10:02:34 -0500
committerJohannes Berg <johannes.berg@intel.com>2014-01-06 10:02:34 -0500
commit5b0ec94f9cfdcd10f6eb4df75fba9404c72fea4d (patch)
treed9b5ad22bc3f98c4bd02ab9be0a5de577f79f043 /net/mac80211/rc80211_minstrel_ht.h
parentef04a29737dd08352fdf6431d119ca636d664efe (diff)
mac80211: fix memory leak in register_hw() error path
Move the internal scan request allocation below the last sanity check in ieee80211_register_hw() to avoid leaking memory if the sanity check actually triggers. Reported-by: ZHAO Gang <gamerh2o@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.h')
0 files changed, 0 insertions, 0 deletions