Skip to content

Commit e060088

Browse files
pvVudentz
authored andcommitted
Bluetooth: L2CAP: export l2cap_chan_hold for modules
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>
1 parent b454505 commit e060088

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

net/bluetooth/l2cap_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ void l2cap_chan_hold(struct l2cap_chan *c)
497497

498498
kref_get(&c->kref);
499499
}
500+
EXPORT_SYMBOL_GPL(l2cap_chan_hold);
500501

501502
struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c)
502503
{

0 commit comments

Comments
 (0)