Koen Vandeputte 0c2e384267 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>
2016-12-15 10:56:52 +01:00
..
2016-12-13 16:05:00 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2016-04-12 15:56:15 +02:00
2015-08-14 17:49:53 +02:00
2016-04-06 13:18:18 +02:00
2015-05-11 19:16:04 +02:00
2014-04-09 14:49:43 +02:00
2016-09-13 15:39:29 +02:00
2016-04-12 15:56:15 +02:00
2016-12-13 16:05:09 +01:00
2015-05-11 14:51:29 +02:00
2012-03-13 14:54:16 -04:00