ublox: fix band setting operation

If both UBANDSEL and UACT are unsupported, we were not initializing
the command variable.
This commit is contained in:
Aleksander Morgado
2018-12-24 16:27:28 +01:00
parent 2677524f6a
commit 308d9e4ddb

View File

@@ -589,7 +589,7 @@ set_current_bands (MMIfaceModem *_self,
MMBroadbandModemUblox *self = MM_BROADBAND_MODEM_UBLOX (_self); MMBroadbandModemUblox *self = MM_BROADBAND_MODEM_UBLOX (_self);
GTask *task; GTask *task;
GError *error = NULL; GError *error = NULL;
gchar *command; gchar *command = NULL;
const gchar *model; const gchar *model;
preload_support_config (self); preload_support_config (self);