Change-Id: I35ced6cb1ef63f430c2120e3edc680e767929ea0
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
if (!a2dp_sep->locked) {
- a2dp_sep->session = avdtp_ref(session);
- if(a2dp_sep->remote_suspended == FALSE)
+ if (a2dp_sep->remote_suspended == FALSE) {
+ a2dp_sep->session = avdtp_ref(session);
a2dp_sep->suspend_timer = g_timeout_add_seconds(SUSPEND_TIMEOUT,
(GSourceFunc) suspend_timeout,
a2dp_sep);
- else
+ } else
a2dp_sep->remote_suspended = FALSE;
}
#else