usb: usb_transfer: log which endpoint transfer will be cancelled

Log which endpoint transfer will be cancelled.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2020-07-08 22:37:20 +02:00 committed by Carles Cufí
parent 5f68b63896
commit 5700a6227d

View file

@ -286,7 +286,7 @@ void usb_cancel_transfers(void)
if (trans->status == -EBUSY) {
trans->status = -ECANCELED;
k_work_submit(&trans->work);
LOG_DBG("Cancel transfer");
LOG_DBG("Cancel transfer for ep: 0x%02x", trans->ep);
}
irq_unlock(key);