]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: do not warn about a flush with an empty TX queue
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 8 Oct 2024 04:25:25 +0000 (07:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Oct 2024 14:43:58 +0000 (16:43 +0200)
commit02ea0fb981f0fada9668fff223d185c953f3b755
tree2db534161e6c092c664d478bc0a8748fade83673
parentb6ed795539d04139f8d715d9774aef869eb4377e
wifi: iwlwifi: do not warn about a flush with an empty TX queue

When resuming it can happen that the TX queue is flushed even though it
is entirely empty. This is completely fine and should not be causing an
error level log message.

Return early from reclaim in that case.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241008072037.7c152d0820be.I3ae39a9a470f47bfe4405f2e5c30327e157eb55f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c