]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Aug 2025 13:44:49 +0000 (09:44 -0400)
commit099799fa9b76c5c02b49e07005a85117a25b01ea
treed631d95ed1a3624161d2d568971d04de0f378602
parent3ba486c5f3ce2c22ffd29c0103404cdbe21912b3
Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown

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>
drivers/bluetooth/btmtk.c