Diff between c5249c37484a5b6a9bbfffc28637937c172ad10a and ec86428e06fbe3fb88ea5637b2ce2c7817e6e638

Changed Files

File Additions Deletions Status
src/shared/hfp.c +0 -4 modified

Full Patch

diff --git a/src/shared/hfp.c b/src/shared/hfp.c
index 9d937a5..05a8563 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -1192,10 +1192,6 @@ static void hf_process_input(struct hfp_hf *hfp)
 	if (len == ringbuf_len(hfp->read_buf))
 		goto done;
 
-	/* If we are here second time for some reason, that is wrong */
-	if (free_tmp)
-		goto done;
-
 	str2 = ringbuf_peek(hfp->read_buf, len, &len2);
 	if (!str2)
 		goto done;