Skip to content

Commit 8264ba1

Browse files
committed
modem: cmux: debug message on DLCI open/close
Add simple debug messages when a DLCI command opening or closing a channel is sent. Signed-off-by: Jordan Yates <[email protected]>
1 parent 9c5325d commit 8264ba1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/modem/modem_cmux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,7 @@ static void modem_cmux_dlci_open_handler(struct k_work *item)
13001300
.data_len = 0,
13011301
};
13021302

1303+
LOG_DBG("Opening: %d", dlci->dlci_address);
13031304
modem_cmux_transmit_cmd_frame(dlci->cmux, &frame);
13041305
modem_work_schedule(&dlci->open_work, MODEM_CMUX_T1_TIMEOUT);
13051306
}
@@ -1329,6 +1330,7 @@ static void modem_cmux_dlci_close_handler(struct k_work *item)
13291330
.data_len = 0,
13301331
};
13311332

1333+
LOG_DBG("Closing: %d", dlci->dlci_address);
13321334
modem_cmux_transmit_cmd_frame(cmux, &frame);
13331335
modem_work_schedule(&dlci->close_work, MODEM_CMUX_T1_TIMEOUT);
13341336
}

0 commit comments

Comments
 (0)