]> granicus.if.org Git - esp-idf/commitdiff
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
authorlly <lly@espressif.com>
Mon, 2 Sep 2019 04:40:31 +0000 (12:40 +0800)
committerlly <lly@espressif.com>
Mon, 9 Sep 2019 09:15:16 +0000 (17:15 +0800)
components/bt/esp_ble_mesh/mesh_core/friend.c

index b47e86fe81682c1634007aab281d3bffba8ca78e..de8ca4cc2c05773b2b4766150f02a8a05a2516b0 100644 (file)
@@ -688,7 +688,7 @@ static void clear_procedure_start(struct bt_mesh_friend *frnd)
 {
     BT_DBG("LPN 0x%04x (old) Friend 0x%04x", frnd->lpn, frnd->clear.frnd);
 
-    frnd->clear.start = k_uptime_get_32() + (2 * frnd->poll_to);
+    frnd->clear.start = k_uptime_get_32();
     frnd->clear.repeat_sec = 1U;
 
     send_friend_clear(frnd);