]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mark TX-during-stop for TX in in_reconfig
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Nov 2021 13:32:39 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Dec 2021 10:22:02 +0000 (11:22 +0100)
commit899ef99369347288c54858de3f5bc07055af0811
tree612c0460255341241cae024de85b1c46cc64cbab
parent5b294411d6e36e15d4e83be2fe7078972ca2cc67
mac80211: mark TX-during-stop for TX in in_reconfig

Mark TXQs as having seen transmit while they were stopped if
we bail out of drv_wake_tx_queue() due to reconfig, so that
the queue wake after this will make them catch up. This is
particularly necessary for when TXQs are used for management
packets since those TXQs won't see a lot of traffic that'd
make them catch up later.

Cc: stable@vger.kernel.org
Fixes: 775f4a0d59ba ("mac80211: do not call driver wake_tx_queue op during reconfig")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211129152938.4573a221c0e1.I0d1d5daea3089be3fc0dccc92991b0f8c5677f0c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.h