diff options
| author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2016-12-14 19:28:59 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-15 12:56:52 +0300 |
| commit | 0c2e384267b815fb784c415a90de7bdd78da0b66 (patch) | |
| tree | f4468fed30a691043ed6f3422a325e6e2e1426b6 /scripts | |
| parent | 445cd452fe5187e676eef02c917c9e5f837c749e (diff) | |
| download | linux-0c2e384267b815fb784c415a90de7bdd78da0b66.tar.xz | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
