diff options
| -rw-r--r-- | audio/a2dp.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/audio/a2dp.c b/audio/a2dp.c index b6f0c627..a91141d7 100644 --- a/audio/a2dp.c +++ b/audio/a2dp.c @@ -633,7 +633,8 @@ static gboolean start_ind(struct avdtp *session, struct avdtp_local_sep *sep,  	a2dp_sep->session = avdtp_ref(session); -	a2dp_sep->suspend_timer = g_timeout_add(SUSPEND_TIMEOUT, +	if (!a2dp_sep->locked) +		a2dp_sep->suspend_timer = g_timeout_add(SUSPEND_TIMEOUT,  						(GSourceFunc) suspend_timeout,  						a2dp_sep);  	return TRUE; | 
