diff options
author | Ben Chan <benchan@chromium.org> | 2018-01-26 14:25:56 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-01-27 12:13:18 -0600 |
commit | 456e1e0d0cb8f6f49d83359bcdb65b04fdbf77ff (patch) | |
tree | 40c04f2ebd7fdaf8e25f7463e94f9b300ead5fc9 /include | |
parent | 90b89bb9f4d055bc5713b733503e7d39c54ca55f (diff) |
huawei: handle optional 0x prefix on hex numbers in ^DHCP response
On Huawei ME936, the hex numbers in the response to AT^DHCP contain the 0x prefix, e.g.
AT^DHCP?
^DHCP: 0xda7d0e0a,0xff000000,0xdb7d0e0a,0xdb7d0e0a,0x01261aac,0x00000000,100000000,50000000
This patch updates mm_huawei_parse_dhcp_response() to handle the
optional 0x prefix.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions