iwlwifi: fix possible priv->mutex deadlock during suspend
authorZhu Yi <yi.zhu@intel.com>
Wed, 19 Dec 2007 05:59:52 +0000 (13:59 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Dec 2007 02:31:01 +0000 (21:31 -0500)
commitb24d22b1d12c436a86282347868785207cff8a88
tree90a6c107466be49653c2a5b92b82fb3eb77c211d
parent7d2e941b0b741d17e95baf095dbf1c77f2b95b56
iwlwifi: fix possible priv->mutex deadlock during suspend

This patch moves _cancel_deferred_work out of mutex protection and removes
unnecessary mutex in pci_suspend and pci_resume.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c