mirror of git://git.sysmocom.de/ofono
sim800: fix typo in model check code
Fixing a copy-paste error in SIM800 code that results in a SIM900 modem being detected as a SIM800 modem.
This commit is contained in:
parent
5e173b28d0
commit
1b0adea8dd
|
@ -115,7 +115,7 @@ static void check_model(gboolean ok, GAtResult *result, gpointer user_data)
|
|||
if (strstr(model, "SIM800"))
|
||||
data->modem_type = SIM800;
|
||||
else if (strstr(model, "SIM900"))
|
||||
data->modem_type = SIM800;
|
||||
data->modem_type = SIM900;
|
||||
else
|
||||
data->modem_type = SIMCOM_UNKNOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue