iwlwifi: make iwl4965_mac_conf_tx in atomic context
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 11 Jul 2008 03:53:34 +0000 (11:53 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jul 2008 18:52:58 +0000 (14:52 -0400)
commit1ff50bda6eef4466366e197541508fc69af0f0c0
tree79499aa72caab98d52cb95602eb64d08b24c4ed4
parent6c5379077f47f6eff9c23caf8513751d2f582e72
iwlwifi: make iwl4965_mac_conf_tx in atomic context

This patch fixes iwl4965_mac_conf_tx. A mutex was taken in atomic context
leading to Oops. This patch removes the mutex and extends the hold
priv->lock. None of the field of QOS is accessed without priv->lock held.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl4965-base.c