@@ -258,7 +258,7 @@ static int gs_cmd_reset(struct gs_usb *gsusb, struct gs_can *gsdev)
258
258
rc = usb_control_msg (interface_to_usbdev (intf ),
259
259
usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
260
260
GS_USB_BREQ_MODE ,
261
- USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
261
+ USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
262
262
gsdev -> channel ,
263
263
0 ,
264
264
dm ,
@@ -432,7 +432,7 @@ static int gs_usb_set_bittiming(struct net_device *netdev)
432
432
rc = usb_control_msg (interface_to_usbdev (intf ),
433
433
usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
434
434
GS_USB_BREQ_BITTIMING ,
435
- USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
435
+ USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE ,
436
436
dev -> channel ,
437
437
0 ,
438
438
dbt ,
@@ -546,7 +546,6 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb,
546
546
hf ,
547
547
urb -> transfer_dma );
548
548
549
-
550
549
if (rc == - ENODEV ) {
551
550
netif_device_detach (netdev );
552
551
} else {
@@ -804,7 +803,7 @@ static struct gs_can *gs_make_candev(unsigned int channel,
804
803
rc = usb_control_msg (interface_to_usbdev (intf ),
805
804
usb_rcvctrlpipe (interface_to_usbdev (intf ), 0 ),
806
805
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 ,
808
807
channel ,
809
808
0 ,
810
809
bt_const ,
@@ -921,7 +920,7 @@ static int gs_usb_probe(struct usb_interface *intf,
921
920
rc = usb_control_msg (interface_to_usbdev (intf ),
922
921
usb_sndctrlpipe (interface_to_usbdev (intf ), 0 ),
923
922
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 ,
925
924
1 ,
926
925
intf -> altsetting [0 ].desc .bInterfaceNumber ,
927
926
hconf ,
@@ -944,7 +943,7 @@ static int gs_usb_probe(struct usb_interface *intf,
944
943
rc = usb_control_msg (interface_to_usbdev (intf ),
945
944
usb_rcvctrlpipe (interface_to_usbdev (intf ), 0 ),
946
945
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 ,
948
947
1 ,
949
948
intf -> altsetting [0 ].desc .bInterfaceNumber ,
950
949
dconf ,
0 commit comments