mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Verify that the peridic advertising interval is non-0 to ensure that the remote device is actually advertising with peridic advertising enabled. This fixes an issue where per_interval_ms would be set to 0, causing bt_le_per_adv_sync_create to fail to invalid values. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>