diff options
author | Carlo Lobrano <c.lobrano@gmail.com> | 2016-04-05 08:18:57 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-06 10:50:35 +0200 |
commit | 8a386218690aeff7e2c923a14f91da7bbc046ed2 (patch) | |
tree | 50494be8b477d1a3a17153649d9330bba79dbfe8 /src | |
parent | 1f13909d9b59176afd9cec32cfbd623b44ec8d80 (diff) |
dell: fixed cgmi_retries in dell_custom_init
Initialized "cgmi_retries" variable from CustomInitContext with the
same value as the other retries, moreover the context is now allocated
with g_slice_new0.
Before this changes, when cgmi_retries assumed big values during the
probing of no AT-capable ports, the command AT+CGMI (mm-plugin-dell.c:custom_init_step)
was sent a semi-infinite number of times, blocking the plugin's initialization.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions