From 176bd02a56dac8c391263994266b055840fc1d97 Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Sun, 20 Feb 2022 17:21:35 +0800 Subject: [PATCH] drivers: modem: gsm: +CSQ shouldn't give sem_response The +CSQ: is followed by 'OK' or 'ERROR', so its handler should not give sem_response. Signed-off-by: Yong Cong Sin --- drivers/modem/gsm_ppp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/modem/gsm_ppp.c b/drivers/modem/gsm_ppp.c index 0d330c0a86..144e341203 100644 --- a/drivers/modem/gsm_ppp.c +++ b/drivers/modem/gsm_ppp.c @@ -408,8 +408,6 @@ MODEM_CMD_DEFINE(on_cmd_atcmdinfo_rssi_csq) LOG_INF("RSSI: %d", rssi); } - k_sem_give(&gsm.sem_response); - return 0; } #endif