Bluetooth: Mesh: Rename gatt adv func

Since this module is already changed, current really
confuses when trying to understand the code.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2021-11-18 09:23:08 +08:00 committed by Johan Hedberg
commit 83bc5d0953
9 changed files with 29 additions and 29 deletions

View file

@ -303,7 +303,7 @@ static bool schedule_send(struct ext_adv *adv)
return true;
}
void bt_mesh_adv_update(void)
void bt_mesh_adv_gatt_update(void)
{
(void)schedule_send(BT_MESH_ADV_EXT_GATT_SEPARATE_INS);
}
@ -435,9 +435,9 @@ int bt_mesh_adv_enable(void)
return 0;
}
int bt_mesh_adv_start(const struct bt_le_adv_param *param, int32_t duration,
const struct bt_data *ad, size_t ad_len,
const struct bt_data *sd, size_t sd_len)
int bt_mesh_adv_gatt_start(const struct bt_le_adv_param *param, int32_t duration,
const struct bt_data *ad, size_t ad_len,
const struct bt_data *sd, size_t sd_len)
{
struct ext_adv *adv = BT_MESH_ADV_EXT_GATT_SEPARATE_INS;
struct bt_le_ext_adv_start_param start = {