Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c2e3842 authored by Koen Vandeputte's avatar Koen Vandeputte Committed by Johannes Berg
Browse files

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: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 445cd452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment