From: Deokhyun Kim Date: Fri, 21 Aug 2020 04:03:29 +0000 (+0900) Subject: Remove abnormal logic for ARTIK530 Success is returned even though stop_scan fails... X-Git-Tag: accepted/tizen/unified/20200826.133059~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F241952%2F1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Remove abnormal logic for ARTIK530 Success is returned even though stop_scan fails. It can cause dbus timeout. Change-Id: I477be2638453de37cfbf2cc894a66c5db10d6a3b Signed-off-by: Deokhyun Kim Signed-off-by: Wootak Jung --- diff --git a/bt-oal/bluez_hal/src/bt-hal-adapter-le.c b/bt-oal/bluez_hal/src/bt-hal-adapter-le.c index e0128fa..14f90c3 100644 --- a/bt-oal/bluez_hal/src/bt-hal-adapter-le.c +++ b/bt-oal/bluez_hal/src/bt-hal-adapter-le.c @@ -922,12 +922,14 @@ int _bt_hal_adapter_le_stop_scan(void) g_dbus_error_strip_remote_error(error); ERR("StopLEDiscovery Fail: %s", error->message); +#if 0 /* Abnormal case for ARTIK530 */ if (g_strrstr(error->message, "No discovery started") || g_strrstr(error->message, "Operation already in progress")) { g_clear_error(&error); return BT_STATUS_SUCCESS; } +#endif g_clear_error(&error); return BT_STATUS_FAIL;