]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: cleanup station adding code
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 22 Jan 2010 22:22:48 +0000 (14:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jan 2010 21:36:22 +0000 (16:36 -0500)
commitd159fdab31cec9a75c72d106e8c3211226090b4b
tree193f25f3b7d232ec8040634f89634386e45082f3
parent25e43c5340e65de871dccc561fecd96bae0c61b6
iwlwifi: cleanup station adding code

The work done when a station is added is very similar whether the station
is added synchronously or asynchronously. Centralize this work. At the same
time increase the status flags being checked for when the command returns
with accompanying debug messages. Also increase checking when setting the
"ucode active" state with accompanying debugging.

This work is done in preparation for station notification support.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-sta.c