Home
last modified time | relevance | path

Searched hist:"0 c2e384267b815fb784c415a90de7bdd78da0b66" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mac80211/
H A Dsta_info.cdiff 0c2e384267b815fb784c415a90de7bdd78da0b66 Wed Dec 14 10:28:59 CST 2016 Koen Vandeputte <koen.vandeputte@ncentric.com> 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>