gatt client adaptation feature changes on HAL
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-event-receiver.c
index 8b8604e..fc85885 100644 (file)
@@ -38,6 +38,7 @@
 #include "bt-hal-agent.h"
 #include "bt-hal-adapter-le.h"
 #include "bt-hal-gatt-server.h"
+#include "bt-hal-gatt-client.h"
 
 #define BASELEN_PROP_CHANGED (sizeof(struct hal_ev_adapter_props_changed) \
                + sizeof(struct hal_property))
@@ -1400,6 +1401,7 @@ static void __bt_hal_device_property_changed_event(GVariant *msg, const char *pa
                        DBG("@@gatt_connected: %d", gatt_connected);
                        DBG("@@address: %s", address);
                        _bt_hal_gatt_connected_state_event(gatt_connected, address);
+                       _bt_hal_handle_gattc_connected_event(address, gatt_connected);
                        g_free(address);
                } else if (!g_strcmp0(key, "Paired")) {
                        gboolean paired = FALSE;