[PATCH 2/2] shared/hfp: Move to next field on container close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 bc091b5..214e3a0 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -291,6 +291,8 @@ bool hfp_gw_result_close_container(struct hfp_gw_result *result)
 
 	result->offset++;
 
+	next_field(result);
+
 	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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux