mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
ble_mesh: clear LPN sent_req on failure
This commit is contained in:
@@ -764,6 +764,7 @@ static void lpn_timeout(struct k_work *work)
|
||||
}
|
||||
lpn->counter++;
|
||||
lpn_set_state(BLE_MESH_LPN_ENABLED);
|
||||
lpn->sent_req = 0U;
|
||||
k_delayed_work_submit(&lpn->timer, FRIEND_REQ_RETRY_TIMEOUT);
|
||||
break;
|
||||
case BLE_MESH_LPN_OFFER_RECV:
|
||||
|
Reference in New Issue
Block a user