When closing container of hfp_context, we should try to move to next field so offset is set correctly to next data. Needed in case of parsing for example: .+CIND: ("call",(0,1)),("callsetup",(0-3))") --- src/shared/hfp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/hfp.c b/src/shared/hfp.c index e047574..e375d27 100644 --- a/src/shared/hfp.c +++ b/src/shared/hfp.c @@ -327,6 +327,8 @@ bool hfp_context_close_container(struct hfp_context *context) context->offset++; + next_field(context); + return true; } -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html