]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8a487b1a7432b20ff3f82387a8ce7555a964b44e
treeff8be11878f0c82434484e8a399757e0d8e2061d
parentb967613d7e7c7bad176f5627c55e2d8c5aa2480e
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