ble_mesh: rename reset_link() to reset_adv_link()
This commit is contained in:
parent
f2b0b00020
commit
3e489d40ff
1 changed files with 3 additions and 3 deletions
|
@ -281,7 +281,7 @@ static void prov_clear_tx(void)
|
||||||
free_segments();
|
free_segments();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void reset_link(void)
|
static void reset_adv_link(void)
|
||||||
{
|
{
|
||||||
prov_clear_tx();
|
prov_clear_tx();
|
||||||
|
|
||||||
|
@ -1261,7 +1261,7 @@ static void prov_retransmit(struct k_work *work)
|
||||||
#endif
|
#endif
|
||||||
if (k_uptime_get() - link.tx.start > timeout) {
|
if (k_uptime_get() - link.tx.start > timeout) {
|
||||||
BT_WARN("Node timeout, giving up transaction");
|
BT_WARN("Node timeout, giving up transaction");
|
||||||
reset_link();
|
reset_adv_link();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1341,7 +1341,7 @@ static void link_close(struct prov_rx *rx, struct net_buf_simple *buf)
|
||||||
{
|
{
|
||||||
BT_DBG("len %u", buf->len);
|
BT_DBG("len %u", buf->len);
|
||||||
|
|
||||||
reset_link();
|
reset_adv_link();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_prov_ctl(struct prov_rx *rx, struct net_buf_simple *buf)
|
static void gen_prov_ctl(struct prov_rx *rx, struct net_buf_simple *buf)
|
||||||
|
|
Loading…
Reference in a new issue