ublox: Correct the USBCONF reply prefix

According to the u-blox AT Commands Manual and my tests
the response prefix of AT+UUSBCONF is "+UUSBCONF:", including
a colon. The colon was missing in the code, causing next step
to parse a number to fail, since a colon is not a number.
This commit is contained in:
Richard Röjfors 2019-03-31 22:18:46 +02:00 committed by Denis Kenzior
parent 4d64235f27
commit 2004d26cdc
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static void query_usbconf_cb(gboolean ok,
g_at_result_iter_init(&iter, result);
retry:
if (!g_at_result_iter_next(&iter, "+UUSBCONF")) {
if (!g_at_result_iter_next(&iter, "+UUSBCONF:")) {
ofono_error("Unable to query USB configuration");
goto error;
}