ble_mesh: rename reset_link() to reset_adv_link()

pull/4068/head
lly 2019-09-02 14:36:24 +08:00
rodzic f2b0b00020
commit 3e489d40ff
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -281,7 +281,7 @@ static void prov_clear_tx(void)
free_segments();
}
static void reset_link(void)
static void reset_adv_link(void)
{
prov_clear_tx();
@ -1261,7 +1261,7 @@ static void prov_retransmit(struct k_work *work)
#endif
if (k_uptime_get() - link.tx.start > timeout) {
BT_WARN("Node timeout, giving up transaction");
reset_link();
reset_adv_link();
return;
}
@ -1341,7 +1341,7 @@ static void link_close(struct prov_rx *rx, struct net_buf_simple *buf)
{
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)