]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita19650e47fb6a4f84dea0bdaf28dfe227c0e8a29
tree22ce7fcc538473df2f968e02ede530d02f188f53
parent00c7f8caf80b77db7cae0cef47376a0021cb37be
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