diff options
| author | Koen Vandeputte <[email protected]> | 2016-12-14 17:28:59 +0100 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-12-15 10:56:52 +0100 |
| commit | 0c2e384267b815fb784c415a90de7bdd78da0b66 (patch) | |
| tree | f4468fed30a691043ed6f3422a325e6e2e1426b6 /tools/perf/scripts/python | |
| parent | 445cd452fe5187e676eef02c917c9e5f837c749e (diff) | |
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 <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions