iwlwifi: use sync commands for keys
authorJohannes Berg <johannes.berg@intel.com>
Mon, 14 Jun 2010 15:32:24 +0000 (08:32 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 21 Jun 2010 17:46:37 +0000 (10:46 -0700)
commite666674eec98752d82388ae009e9039a62e744e7
tree7f68d80d904ae453082c36af018560005e539d97
parent4620fefa59d8aeae400b21d60d9a86aa11ebffa7
iwlwifi: use sync commands for keys

Key management can use sync commands
instead of asynchronous ones to have
better error checking.

Also add checks that the commands all
should have the mutex held.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-sta.c