[PATCH] huawei: fix ^ICCID parsing

Ben Chan benchan at chromium.org
Wed Sep 25 12:50:45 PDT 2013


On Wed, Sep 25, 2013 at 12:04 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Wed, 2013-09-25 at 10:21 -0700, Ben Chan wrote:
>> Checking the leading 89 digits is actually a better option. It should
>> be a constant for now.
>>
>> Perhaps we can change mm_3gpp_parse_iccid to use the leading two
>> digits to decide if swapping is needed?
>
> Sure, that sounds like a good solution for now.
>

Aleksander / Dan, do you prefer to keep the flexibility to explicitly
specify whether mm_3gpp_parse_iccid should swap the digits or not. Or
are you comfortable with simply letting mm_3gpp_parse_iccid to decide
based on the leading two digits? I'd propose the latter unless we're
not so sure if the leading digits are always 89.


More information about the ModemManager-devel mailing list