Add missed code for the discovery state logic
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-adapter.c
index 8fd726f..569afe2 100644 (file)
@@ -411,6 +411,7 @@ static int __bt_get_bonded_device_info(gchar *device_path,
 void _bt_set_discovery_status(gboolean mode)
 {
        is_discovering = mode;
+       discovery_req = FALSE;
 }
 
 void _bt_set_cancel_by_user(gboolean value)