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:
parent
0fa7c01adc
commit
c2402a4368
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue