Detect when Bluetooth LE discovery stops

I’m running a Bluetooth LE scan using bt_adapter_le_start_scan(). This is working fine on Tizen devices but on the devices at some point the scanning just stops working. The stopping correlates with the following log entry in the system log:

01-11 10:12:36.411+0100 I/BLUETOOTH_OAL(P 2804, T 2804): oal-adapter-mgr.c: cb_adapter_properties(1062) > LE Discovery stopped

Is there a way to detect this condition using a callback? For advertising there is a bt_adapter_le_advertising_state_changed_cb callback. Is there a similar callback for when the scanning state is changing?

Additional info: There was a mobile_only function bt_adapter_le_set_device_discovery_state_changed_cb() that has been deprecated since Tizen 2.3.1. Unfortunately I’m not able to find out why it was deprecated and what the recommended alternative is.