Bluetooth: att: Make bt_att_chan_create_pdu static function

This fixes missing `static` function specifier.
The bt_att_chan_create_pdu is not called outside of att.c.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2023-07-21 11:14:02 +02:00 committed by Fabio Baltieri
commit c2402a4368

View file

@ -638,8 +638,7 @@ static bt_conn_tx_cb_t att_cb(const struct net_buf *buf)
return att_unknown; return att_unknown;
} }
struct net_buf *bt_att_chan_create_pdu(struct bt_att_chan *chan, uint8_t op, static struct net_buf *bt_att_chan_create_pdu(struct bt_att_chan *chan, uint8_t op, size_t len)
size_t len)
{ {
struct bt_att_hdr *hdr; struct bt_att_hdr *hdr;
struct net_buf *buf; struct net_buf *buf;