@@ -258,7 +258,7 @@ static int gs_cmd_reset(struct gs_usb *gsusb, struct gs_can *gsdev)
258258 rc = usb_control_msg (interface_to_usbdev (intf ),
259259 usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
260260 GS_USB_BREQ_MODE ,
261- USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
261+ USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
262262 gsdev -> channel ,
263263 0 ,
264264 dm ,
@@ -432,7 +432,7 @@ static int gs_usb_set_bittiming(struct net_device *netdev)
432432 rc = usb_control_msg (interface_to_usbdev (intf ),
433433 usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
434434 GS_USB_BREQ_BITTIMING ,
435- USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
435+ USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
436436 dev -> channel ,
437437 0 ,
438438 dbt ,
@@ -546,7 +546,6 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb,
546546 hf ,
547547 urb -> transfer_dma );
548548
549-
550549 if (rc == - ENODEV ) {
551550 netif_device_detach (netdev );
552551 } else {
@@ -804,7 +803,7 @@ static struct gs_can *gs_make_candev(unsigned int channel,
804803 rc = usb_control_msg (interface_to_usbdev (intf ),
805804 usb_rcvctrlpipe (interface_to_usbdev (intf ), 0 ),
806805 GS_USB_BREQ_BT_CONST ,
807- USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
806+ USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
808807 channel ,
809808 0 ,
810809 bt_const ,
@@ -921,7 +920,7 @@ static int gs_usb_probe(struct usb_interface *intf,
921920 rc = usb_control_msg (interface_to_usbdev (intf ),
922921 usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
923922 GS_USB_BREQ_HOST_FORMAT ,
924- USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
923+ USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
925924 1 ,
926925 intf -> altsetting [0 ].desc .bInterfaceNumber ,
927926 hconf ,
@@ -944,7 +943,7 @@ static int gs_usb_probe(struct usb_interface *intf,
944943 rc = usb_control_msg (interface_to_usbdev (intf ),
945944 usb_rcvctrlpipe (interface_to_usbdev (intf ), 0 ),
946945 GS_USB_BREQ_DEVICE_CONFIG ,
947- USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
946+ USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
948947 1 ,
949948 intf -> altsetting [0 ].desc .bInterfaceNumber ,
950949 dconf ,
0 commit comments