Fix build error 05/137405/1 accepted/tizen/3.0/common/20170719.081603 accepted/tizen/3.0/ivi/20170719.003641 accepted/tizen/3.0/mobile/20170719.003607 accepted/tizen/3.0/tv/20170719.003616 accepted/tizen/3.0/wearable/20170719.003629 submit/tizen_3.0/20170716.235230
authorSeungyoun Ju <sy39.ju@samsung.com>
Wed, 5 Jul 2017 13:31:48 +0000 (22:31 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Wed, 5 Jul 2017 13:52:13 +0000 (22:52 +0900)
[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] If BT chip is not broadcom nor spreadtrum, build error
 happens.
[Cause & Measure] dst variable was in chipset feature define. But it was
used for all chipset. This patch place dst out of chipset feature.
[Checking Method] Build for SM-V201 model which uses qualcomm chipset

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Icb4bb6700d0a3d1c72e68586daecfd25488d1ae8

profiles/audio/avdtp.c

index c62385e..1ff5db7 100644 (file)
@@ -1138,12 +1138,9 @@ static void avdtp_sep_set_state(struct avdtp *session,
        struct avdtp_stream *stream = sep->stream;
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
        struct btd_adapter *adapter = device_get_adapter(session->device);
-#if (defined(TIZEN_FEATURE_BLUEZ_BRCM_QOS) || defined(TIZEN_FEATURE_BLUEZ_ROLE_CHANGE)) || \
-       defined(TIZEN_FEATURE_BLUEZ_SPRD_QOS)
        const bdaddr_t *dst;
        dst = device_get_address(session->device);
 #endif
-#endif
        avdtp_state_t old_state;
        struct avdtp_error err, *err_ptr = NULL;
        GSList *l;