fix(ble_mesh): Miscellaneous bugfixes according to our internal bug report

This commit is contained in:
Liu Linyan
2026-02-03 10:59:04 +08:00
parent 4c39269f3b
commit 0e0fab2ea7
69 changed files with 2152 additions and 1012 deletions
@@ -112,6 +112,7 @@ int k_delayed_work_init(struct k_delayed_work *work, k_work_handler_t handler)
if (!hash_map_set(bm_alarm_hash_map, work, (void *)alarm)) {
BT_ERR("Init, alarm not set");
osi_alarm_free(alarm);
bt_mesh_alarm_unlock();
return -EIO;
}
@@ -235,6 +236,7 @@ int k_delayed_work_free(struct k_delayed_work *work)
}
osi_alarm_cancel(alarm);
osi_alarm_free(alarm);
hash_map_erase(bm_alarm_hash_map, work);
bt_mesh_alarm_unlock();