On 09.03.2021 09:21:28, Stephane Grosjean wrote: > --- a/drivers/net/can/usb/peak_usb/pcan_usb_pro.c > +++ b/drivers/net/can/usb/peak_usb/pcan_usb_pro.c > @@ -39,6 +39,7 @@ MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB Pro adapter"); > > #define PCAN_USBPRO_RTR 0x01 > #define PCAN_USBPRO_EXT 0x02 > +#define PCAN_USBPRO_SS 0x08 > > #define PCAN_USBPRO_CMD_BUFFER_SIZE 512 > > @@ -779,9 +780,13 @@ static int pcan_usb_pro_encode_msg(struct peak_usb_device *dev, > > flags = 0; > if (cf->can_id & CAN_EFF_FLAG) > - flags |= 0x02; > + flags |= PCAN_USBPRO_EXT; > if (cf->can_id & CAN_RTR_FLAG) > - flags |= 0x01; > + flags |= PCAN_USBPRO_RTR; I've put this change in a separate patch and applied both to linux-can-next/testing. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |