]> git.hungrycats.org Git - linux/commit
Bluetooth: btusb: fix wakeup source leak on probe failure
authorJohan Hovold <johan@kernel.org>
Thu, 4 Jun 2026 06:37:38 +0000 (08:37 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2026 18:24:40 +0000 (14:24 -0400)
commit3d93e1bb0fb881fe3ef961d1120556658e9cac4d
treeb6222b1f223b24e92d278aa70e89cdeb401d48d9
parentc5b600a3c05b1a7a110d558df935a8fc8a471c79
Bluetooth: btusb: fix wakeup source leak on probe failure

Make sure to disable wakeup on probe failure to avoid leaking the wakeup
source.

Fixes: fd913ef7ce61 ("Bluetooth: btusb: Add out-of-band wakeup support")
Cc: stable@vger.kernel.org # 4.11
Cc: Rajat Jain <rajatja@google.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c