sim800: fix typo in model check code
PATCH 1/1 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.
--- plugins/sim900.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
plugins/sim900.c +1 -1
@@ -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 ; }
Signature · 1 line
2.11.0
Denis Kenzior
AppliedQuoted 7 lines · CRImier
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(-)
Applied, thanks.
Regards,
-Denis