From 1b0adea8dda11991080a20b0da0144953fe6c065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pi=C4=8Dugins=20Arsenijs?= Date: Mon, 4 Feb 2019 22:16:54 +0200 Subject: [PATCH] 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(-) 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; }