mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: rename reset_link() to reset_adv_link()
This commit is contained in:
parent
f2b0b00020
commit
3e489d40ff
@ -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 New Issue
Block a user