zephyr/subsys/bluetooth
Joakim Andersson 2e6983c0f5 Bluetooth: GATT: Fix invalid DB hast written to settings storage
Fix issue where an invalid (all zeroes) hash was written to settings
storage on reset. This caused the old value to written to zeroes, before
being written back to it's original value again immediately after.
This causes excessive flash wear.

This happens because the check if (k_delayed_work_remaining) returns the
amount of time until the work will execute. When that time has run out
the time is zero, but the work has not yet been executed.
We then write the invalid hash to flash, and then once the work-item
executes it will write the correct value.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-02-18 13:55:33 +02:00
..
common Bluetooth: Fix controller RPA calling into host with host-based crypto 2020-01-31 18:33:06 +01:00
controller bluetooth: controller: openisa/RV32M1: fix LL scheduling 2020-02-18 13:48:12 +02:00
host Bluetooth: GATT: Fix invalid DB hast written to settings storage 2020-02-18 13:55:33 +02:00
mesh Bluetooth: Mesh: typo in condition in comp_add_elem of cfg_srv 2020-02-16 23:28:51 +03:00
services kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
shell Bluetooth: shell: Add support for pairing accept callback 2020-01-31 20:39:25 +02:00
CMakeLists.txt cmake: don't link interface libraries with zephyr_interface 2019-09-26 05:50:46 -07:00
Kconfig Bluetooth: hci_raw: Add support for specifying buffer headroom 2019-11-20 19:29:06 +01:00