hso: Fix the username and password order

QCPDPP apparently takes the password first, then username
This commit is contained in:
Denis Kenzior 2010-09-27 19:28:19 -05:00
parent e3208ad338
commit af643b1989
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static void hso_gprs_activate_primary(struct ofono_gprs_context *gc,
if (ctx->username[0] && ctx->password[0])
snprintf(buf, sizeof(buf), "AT$QCPDPP=%u,1,\"%s\",\"%s\"",
ctx->cid, ctx->username, ctx->password);
ctx->cid, ctx->password, ctx->username);
else if (ctx->password[0])
snprintf(buf, sizeof(buf), "AT$QCPDPP=%u,2,,\"%s\"",
ctx->cid, ctx->password);