iwlwifi: remove sync_cmd_mutex
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 31 Mar 2011 15:36:28 +0000 (17:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:34:11 +0000 (15:34 -0400)
commit8447c163afeaa7e9f6f015088177b1c8511e0877
tree722edb206661c80575508c86ca690def6f05a254
parentdc1a4068fce2657991c5c3b1f6849f7fc466c69f
iwlwifi: remove sync_cmd_mutex

We now use priv->mutex to serialize sync command, remove old
priv->sync_cmd_mutex and add assertion that priv->mutex must be locked.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-hcmd.c