Fixing a copy-paste error in SIM800 code that results in a SIM900 modem being detected as a SIM800 modem. --- plugins/sim900.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/sim900.c b/plugins/sim900.c index eeeb248f..256483ea 100644 --- a/plugins/sim900.c +++ b/plugins/sim900.c @@ -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; } -- 2.11.0 _______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono