diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-01-15 16:05:11 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-01-16 10:56:53 +0100 |
commit | 2550cb20a9741378c747233ddea8e7a7daa5c198 (patch) | |
tree | c12f37c065e8ba21808734c78739ac4df804eec3 /src/mm-base-modem.h | |
parent | 2b3f353770799932c05dbf2a6fd5b3519270052b (diff) |
huawei: only retry DHCP? check on specific errors
We don't want to retry DHCP? on every possible GError reported; specially if the
error is about the port being forced to get closed when the modem gets
unplugged or the like. So just retry on very specific errors reported.
The main cause for retry is really when the modem replies the following:
--> AT^DHCP?
<-- ERROR
Which in our case gets translated to a 'unknown' mobile equipment error. We'll
also consider any kind of mobile equipment error, as the modems may reply a
CME ERROR instead.
Diffstat (limited to 'src/mm-base-modem.h')
0 files changed, 0 insertions, 0 deletions