ble_mesh: clear LPN sent_req on failure
This commit is contained in:
parent
4bf4094e40
commit
5f5f5cf305
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue