]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath9k: convert msecs to jiffies where needed
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 13 Jun 2023 13:46:55 +0000 (16:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:37:11 +0000 (08:37 +0200)
commit88d89b4a310246a2aef3ee3561d50984df480681
tree708058177c40b44d1aadb436b5710643ddc3842f
parent76d5bda2c3af54f471e187f5b59f3af7a795b95f
wifi: ath9k: convert msecs to jiffies where needed

[ Upstream commit 2aa083acea9f61be3280184384551178f510ff51 ]

Since 'ieee80211_queue_delayed_work()' expects timeout in
jiffies and not milliseconds, 'msecs_to_jiffies()' should
be used in 'ath_restart_work()' and '__ath9k_flush()'.

Fixes: d63ffc45c5d3 ("ath9k: rename tx_complete_work to hw_check_work")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230613134655.248728-1-dmantipov@yandex.ru
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath9k/main.c