aboutsummaryrefslogtreecommitdiff
path: root/src/mm-device.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-19 07:35:23 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-19 07:42:47 +0200
commita6faae32608833f3d26d57bc6bace4f2a9add8bd (patch)
tree4dc6bb0e66272ebc9f2e993132105dc1e61ec4d3 /src/mm-device.c
parentd2353e01ff4b786da4542f7fd6f4f4e76081f450 (diff)
broadband-modem: skip +CGMM: prefix when loading device model
Some devices, e.g. ZTE MF820D, seem to prefix the `AT+CGMM?' response with the `+CGMM:' string, resulting in the following model string being loaded: model: '+CGMM: "MF820D"' Avoid this by: 1) Removing the expected prefixes. 2) Unquoting the resulting string. Reported by: Marius Kotsbak <marius.kotsbak@gmail.com>
Diffstat (limited to 'src/mm-device.c')
0 files changed, 0 insertions, 0 deletions