iwlwifi: serialize station management actions
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 28 May 2010 16:28:39 +0000 (09:28 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 14 Jun 2010 17:51:16 +0000 (10:51 -0700)
commitda5ae1cfff4cc5b9392eab59b227ad907626d7aa
tree67776b88a0f37dc2c0f2b839076279d1ecd78239
parentb054b747a694927879c94dd11af54d04346aed7d
iwlwifi: serialize station management actions

We are seeing some race conditions between incoming station management
requests (station add/remove) and the internal unassoc RXON command that
modifies station table. Modify these flows to require the mutex to be held
and thus serializing them.

This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2207

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-sta.c
drivers/net/wireless/iwlwifi/iwl3945-base.c