drivers: modem: gsm: rssi_work should be submitted to gsm workq

The rssi_work_handle should be submitted to the gsm workqueue
using the gsm_work_reschedule, fix that.

Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2022-02-20 15:40:27 +08:00 committed by Carles Cufí
commit 62c383d062

View file

@ -761,8 +761,8 @@ attaching:
}
}
modem_cmd_handler_tx_unlock(&gsm->context.cmd_handler);
k_work_schedule(&gsm->rssi_work_handle,
K_SECONDS(CONFIG_MODEM_GSM_RSSI_POLLING_PERIOD));
(void)gsm_work_reschedule(&gsm->rssi_work_handle,
K_SECONDS(CONFIG_MODEM_GSM_RSSI_POLLING_PERIOD));
}
}