Add missed code for the discovery state logic 11/139311/1 accepted/tizen/unified/20170721.024454 submit/tizen/20170719.005005
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Jul 2017 09:56:03 +0000 (18:56 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Jul 2017 09:56:03 +0000 (18:56 +0900)
Change-Id: I23773d65601d4e7ee013ff2233c0e839f993bfa1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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)