>From d1ec66c643f005d558c403a68c7df04b0819aa79 Mon Sep 17 00:00:00 2001 From: "Eswaran Vinothkumar (BEG-PT/PJ-IOT1)" <vinothkumar.eswa...@de.bosch.com> Date: Mon, 12 Mar 2018 14:46:28 +0100 Subject: [PATCH] sim detection: Fix to take the right slot and application number
--- drivers/qmimodem/sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/qmimodem/sim.c b/drivers/qmimodem/sim.c index 71c7e04..99c6d68 100644 --- a/drivers/qmimodem/sim.c +++ b/drivers/qmimodem/sim.c @@ -557,7 +557,7 @@ static enum get_card_status_result handle_get_card_status_result( index = GUINT16_FROM_LE(status->index_gw_pri); - if ((index & 0xff) == i && (index >> 8) == n) { + if ((index & 0xff) == n && (index >> 8) == i) { if (get_card_status(slot, info1, info2, sim_stat)) res = GET_CARD_STATUS_RESULT_TEMP_ERROR; -- 2.7.4 Mit freundlichen Grüßen / Best regards Vinothkumar Eswaran BEG-PT/PJ-IOT-EL
_______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono