gatt list should not be freed while search result event is coming
Change-Id: I1630ddea38bdcb4bbfa32423d2d8565bb284ad64
int inst_id;
} bt_gatt_included_service_info_t;
-GSList *list_gatt_info;
-
+static GSList *list_gatt_info = NULL;
#endif
return BLUETOOTH_ERROR_NOT_CONNECTED;
}
- BT_INFO("Remove GATT server info from List..");
- /* Remove all services from info list_gatt_info */
- __bt_cleanup_remote_services(conn_info);
-
/* Send Primary Service Browsing request to stack */
ret = gattc_search_service(conn_info->connection_id, NULL);
if (ret != OAL_STATUS_SUCCESS) {