]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown
authorJiande Lu <jiande.lu@mediatek.com>
Thu, 24 Jul 2025 08:51:17 +0000 (16:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:45 +0000 (16:34 +0200)
commit2b979ef704942c3536e983f6dda507e2cef9380c
treed2e01f90574cf227444d2b87e10e48e2f965ed6d
parent921a470ab75a3a953153e23d6c4cf30f59dcde06
Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown

[ Upstream commit 099799fa9b76c5c02b49e07005a85117a25b01ea ]

During the shutdown process, an interrupt occurs that
prematurely terminates the wait for the expected event.
This change replaces TASK_INTERRUPTIBLE with
TASK_UNINTERRUPTIBLE in the wait_on_bit_timeout call to ensure
the shutdown process completes as intended without being
interrupted by signals.

Fixes: d019930b0049 ("Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c")
Signed-off-by: Jiande Lu <jiande.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btmtk.c