iwlwifi: remove lock around txq_enable
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jun 2012 10:44:14 +0000 (13:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 07:01:03 +0000 (09:01 +0200)
commit5bf9a89d9a2eaa136a23d872db4195ca8cada4c8
tree22ce7fcc538473df2f968e02ede530d02f188f53
parent1ce8658c08f1c1baa72e3cdea43a9d715dad08a2
iwlwifi: remove lock around txq_enable

This locking isn't needed. The only locking we need is when
we access prph registers but there is already a separate
lock for that.
Since we haven't returned from the mac80211's
IEEE80211_AMPDU_TX_OPERATIONAL ampdu_action, we cannot
receive any Tx frame for that sta / tid while enabling the
queue.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/trans.c
drivers/net/wireless/iwlwifi/pcie/tx.c