]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refactor sta_info_insert_rcu to 3 main stages
authorGuy Eilam <guy@wizery.com>
Wed, 17 Aug 2011 12:18:14 +0000 (15:18 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Aug 2011 14:47:55 +0000 (10:47 -0400)
commit8642451bd1fc5f0ae75d06b0056d6fe772c7d3fc
treec64802718da405531fdf5e5c56028320ae449217
parent916a3a561bf668a322baac8e24afac49319fc128
mac80211: refactor sta_info_insert_rcu to 3 main stages

Divided the sta_info_insert_rcu function to 3 mini-functions:
sta_info_insert_check - the initial checks done when inserting
a new station
sta_info_insert_ibss - the function that handles the station
addition for IBSS interfaces
sta_info_insert_non_ibss - the function that handles the station
addition in other cases

The outer API was not changed.
The refactoring was done for better usage of the different
stages in the station addition in new scenarios added
in the next commit.

Signed-off-by: Guy Eilam <guy@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c