When the LE stopped by non-user, it was not stopped properly.
Change-Id: I9cbdbe453f19e6ad8742ecc19275577ade9b591e
return BLUETOOTH_ERROR_NONE;
}
+void _bt_disable_all_scanner_status(void)
+{
+ GSList *l;
+ bt_adapter_le_scanner_t *scanner;
+
+ for (l = scanner_list; l != NULL; l = g_slist_next(l)) {
+ scanner = l->data;
+ scanner->is_scanning = FALSE;
+ }
+}
+
void _bt_set_le_scan_status(gboolean mode)
{
is_le_scanning = mode;
}
_bt_set_cancel_by_user(FALSE);
+ _bt_disable_all_scanner_status();
_bt_set_discovery_status(FALSE);
param = g_variant_new("(i)", result);
_bt_send_event(BT_ADAPTER_EVENT,
int _bt_stop_le_scan(const char *sender);
+void _bt_disable_all_scanner_status(void);
+
void _bt_set_le_scan_status(gboolean mode);
gboolean _bt_is_le_scanning(void);