modem: bg9x: ignore sem return value

The semaphore waits forever, ignore the return value.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
This commit is contained in:
Ryan Erickson 2024-02-12 13:56:43 -06:00 committed by Henrik Brix Andersen
parent 78da930e80
commit cc1d545619

View file

@ -457,7 +457,7 @@ static ssize_t send_socket_data(struct modem_socket *sock,
snprintk(send_buf, sizeof(send_buf), "AT+QISEND=%d,%ld", sock->id, (long) buf_len);
/* Setup the locks correctly. */
k_sem_take(&mdata.cmd_handler_data.sem_tx_lock, K_FOREVER);
(void)k_sem_take(&mdata.cmd_handler_data.sem_tx_lock, K_FOREVER);
k_sem_reset(&mdata.sem_tx_ready);
/* Send the Modem command. */