diff options
| -rw-r--r-- | audio/a2dp.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/audio/a2dp.c b/audio/a2dp.c index cb43dce2..e2aeedfd 100644 --- a/audio/a2dp.c +++ b/audio/a2dp.c @@ -680,6 +680,12 @@ static gboolean suspend_ind(struct avdtp *session, struct avdtp_local_sep *sep,  		debug("SBC Sink: Suspend_Ind");  	else  		debug("SBC Source: Suspend_Ind"); + +	if (a2dp_sep->suspend_timer) { +		g_source_remove(a2dp_sep->suspend_timer); +		a2dp_sep->suspend_timer = NULL; +	} +  	return TRUE;  } | 
