if (adapter->discovery_list)
return;
+#ifdef __TIZEN_PATCH__
+ hci_clear_bit(BDADDR_BREDR, &adapter->discovery_type);
+#else
adapter->discovery_type = 0x00;
+#endif
if (adapter->discovery_idle_timeout > 0) {
g_source_remove(adapter->discovery_idle_timeout);
if (adapter->discovery_list || adapter->le_discovery_list)
return;
- adapter->discovery_type = 0x00;
+ hci_clear_bit(BDADDR_LE_PUBLIC, &adapter->discovery_type);
+ hci_clear_bit(BDADDR_LE_RANDOM, &adapter->discovery_type);
+
DBG("Restart Timer... adapter->discovery_type[%d]", adapter->discovery_type);
if (adapter->discovery_idle_timeout > 0) {
g_source_remove(adapter->discovery_idle_timeout);