Bluetooth: Fix wrong read included function name
Other function name was used "bt_gatt_attr_read_included" by include than the implementation "bt_gatt_attr_read_include" has. Function naming mismatch caused linker error if used included service define. Change-Id: Ib4b4d07050d634cb1578c8a8948322acad85a307 Signed-off-by: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
This commit is contained in:
parent
49cc10dcfd
commit
ee178d0970
1 changed files with 3 additions and 3 deletions
|
@ -114,9 +114,9 @@ struct gatt_incl {
|
|||
};
|
||||
} __packed;
|
||||
|
||||
int bt_gatt_attr_read_include(struct bt_conn *conn,
|
||||
const struct bt_gatt_attr *attr,
|
||||
void *buf, uint16_t len, uint16_t offset)
|
||||
int bt_gatt_attr_read_included(struct bt_conn *conn,
|
||||
const struct bt_gatt_attr *attr,
|
||||
void *buf, uint16_t len, uint16_t offset)
|
||||
{
|
||||
struct bt_gatt_include *incl = attr->user_data;
|
||||
struct gatt_incl pdu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue