]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: wake the queue if stopped when being unmapped
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 13 Jun 2013 10:10:00 +0000 (13:10 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Jun 2013 14:44:04 +0000 (16:44 +0200)
commit6714c9ffbf002a3d9409b287f5bdc69dbab45753
treeff8be11878f0c82434484e8a399757e0d8e2061d
parent26fd6677d97a45319664cdd6113bdaebe7ea9c7e
iwlwifi: pcie: wake the queue if stopped when being unmapped

When the queue is unmapped while it was so loaded that
mac80211's was stopped, we need to wake the queue after
having freed all the packets in the queue.
Not doing so can result in weird stuff like:

* run lots of traffic (mac80211's queue gets stopped)
* RFKILL
* de-assert RFKILL
* no traffic

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c