On Sat, Jun 05, 2021 at 06:58:55PM +0200, Martin Kaiser wrote: > @@ -464,14 +403,8 @@ u32 usb_read_port(struct adapter *adapter, u32 addr, struct recv_buf *precvbuf) > precvbuf);/* context is precvbuf */ > > err = usb_submit_urb(purb, GFP_ATOMIC); > - if ((err) && (err != (-EPERM))) { > - RT_TRACE(_module_hci_ops_os_c_, _drv_err_, > - ("cannot submit rx in-token(err=0x%.8x), URB_STATUS =0x%.8x", > - err, purb->status)); > - DBG_88E("cannot submit rx in-token(err = 0x%08x),urb_status = %d\n", > - err, purb->status); > + if ((err) && (err != (-EPERM))) > ret = _FAIL; Not related to your patch but why is -EPERM treated differently? It's not immediately clear that -EPERM is even something that usb_submit_urb() returns... > - } > > return ret; > } regards, dan carpenter