From 921644c5a6dd9a9dbb034468baa44afa225f84ca Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Fri, 4 Jun 2021 16:41:33 +0200 Subject: [PATCH] Bluetooth: OTS: Make L2CAP channel recv callback static Make the OTS module L2CAP channel recv callback a static function. Signed-off-by: Joakim Andersson --- subsys/bluetooth/services/ots/ots_l2cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/services/ots/ots_l2cap.c b/subsys/bluetooth/services/ots/ots_l2cap.c index 3f4d0f62145..c7342c9f366 100644 --- a/subsys/bluetooth/services/ots/ots_l2cap.c +++ b/subsys/bluetooth/services/ots/ots_l2cap.c @@ -105,7 +105,7 @@ static void l2cap_sent(struct bt_l2cap_chan *chan) } } -int l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) +static int l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) { struct bt_gatt_ots_l2cap *l2cap_ctx;