]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: L2CAP: export l2cap_chan_hold for modules
authorPauli Virtanen <pav@iki.fi>
Mon, 3 Nov 2025 18:29:48 +0000 (20:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2025 11:45:18 +0000 (12:45 +0100)
commitb38db473f546cd5b71f7e3405d2f7b01bd9c60cf
tree3890ea1a5926e87aa7a90ad05a4e5dd0ba404b83
parent2576c2f43fa5ea81c330e5c8678febe0fbb0305c
Bluetooth: L2CAP: export l2cap_chan_hold for modules

[ Upstream commit e060088db0bdf7932e0e3c2d24b7371c4c5b867c ]

l2cap_chan_put() is exported, so export also l2cap_chan_hold() for
modules.

l2cap_chan_hold() has use case in net/bluetooth/6lowpan.c

Signed-off-by: Pauli Virtanen <pav@iki.fi>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/l2cap_core.c