drivers: modem: Add debug log for matching direct cmds
Add a log message for when a direct cmd is matched to ease debugging. Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com>
This commit is contained in:
parent
9eddc69029
commit
0d50372ce9
1 changed files with 2 additions and 0 deletions
|
@ -318,6 +318,8 @@ static void cmd_handler_process(struct modem_cmd_handler *cmd_handler,
|
|||
/* Wait for more data */
|
||||
break;
|
||||
} else if (ret > 0) {
|
||||
LOG_DBG("match direct cmd [%s] (ret:%d)",
|
||||
log_strdup(cmd->cmd), ret);
|
||||
data->rx_buf = net_buf_skip(data->rx_buf, ret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue