summaryrefslogtreecommitdiff
path: root/net/mac80211/rc80211_minstrel_ht_debugfs.c
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2016-12-14 17:28:59 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-12-15 10:56:52 +0100
commit0c2e384267b815fb784c415a90de7bdd78da0b66 (patch)
treef4468fed30a691043ed6f3422a325e6e2e1426b6 /net/mac80211/rc80211_minstrel_ht_debugfs.c
parent445cd452fe5187e676eef02c917c9e5f837c749e (diff)
downloadlwn-0c2e384267b815fb784c415a90de7bdd78da0b66.tar.gz
lwn-0c2e384267b815fb784c415a90de7bdd78da0b66.zip
mac80211: only alloc mem if a station doesn't exist yet
This speeds up the function in case a station already exists by avoiding calling an expensive kzalloc just to free it again after the next check. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht_debugfs.c')
0 files changed, 0 insertions, 0 deletions