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;