This seems to be caused by commit
7f3955122af8b0349fb7d3f2db8abd754459d146: src: allow MessageCenter/Proxy
for TYPE_INTERNET. "Invalid arguments" is returned by change introduced
in line 2921 in the commit.

I recommed changing the check as follows:

        if (ctx->type == OFONO_GPRS_CONTEXT_TYPE_ANY ||
                ctx->type == OFONO_GPRS_CONTEXT_TYPE_WAP || 
                ctx->type == OFONO_GPRS_CONTEXT_TYPE_IMS)
                return __ofono_error_invalid_args(msg);

That seems to fix  the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1362068

Title:
  setting ConnectionContext MessageCenter or MessageProxy always returns
  "invalid parameters"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1362068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to