]> err.no Git - linux-2.6/commit
iwlwifi: fix potential lock inversion deadlock
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 7 Mar 2008 21:47:20 +0000 (13:47 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 Mar 2008 22:25:26 +0000 (17:25 -0500)
commitdeedf504302ff747985db081352e045ff7087a11
tree1b2e1c8717cef38dd56a00f8109d683ca3930e21
parentf868f4e196177ee96f77304ab707a0ad5ddd6fe4
iwlwifi: fix potential lock inversion deadlock

This is a change to a previous patch ("iwlwifi: 3945 split tx_complete
to command and packet function") to ensure we do not have hardirq safe
locks (priv->lock in this case) depend on hardirq unsafe locks.

We only call iwl3945_tx_queue_reclaim while in a tasklet so we have to use
the irqsafe version of the function.

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