wifi: ath9k: convert msecs to jiffies where needed
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 13 Jun 2023 13:46:55 +0000 (16:46 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 21 Jun 2023 18:07:22 +0000 (21:07 +0300)
commit2aa083acea9f61be3280184384551178f510ff51
tree16c5732c3f4fc658152df1f0288a84c614d381ea
parent7f6ee56ca0df0484338d12cd142fb5ebde8875a9
wifi: ath9k: convert msecs to jiffies where needed

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
drivers/net/wireless/ath/ath9k/main.c