diff options
Diffstat (limited to 'drivers/usb/storage/initializers.c')
-rw-r--r-- | drivers/usb/storage/initializers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/storage/initializers.c b/drivers/usb/storage/initializers.c index 4995bb595aef..2dd9bd4bff56 100644 --- a/drivers/usb/storage/initializers.c +++ b/drivers/usb/storage/initializers.c | |||
@@ -95,11 +95,10 @@ int usb_stor_huawei_e220_init(struct us_data *us) | |||
95 | { | 95 | { |
96 | int result; | 96 | int result; |
97 | 97 | ||
98 | us->iobuf[0] = 0x1; | ||
99 | result = usb_stor_control_msg(us, us->send_ctrl_pipe, | 98 | result = usb_stor_control_msg(us, us->send_ctrl_pipe, |
100 | USB_REQ_SET_FEATURE, | 99 | USB_REQ_SET_FEATURE, |
101 | USB_TYPE_STANDARD | USB_RECIP_DEVICE, | 100 | USB_TYPE_STANDARD | USB_RECIP_DEVICE, |
102 | 0x01, 0x0, us->iobuf, 0x1, 1000); | 101 | 0x01, 0x0, NULL, 0x0, 1000); |
103 | US_DEBUGP("usb_control_msg performing result is %d\n", result); | 102 | US_DEBUGP("usb_control_msg performing result is %d\n", result); |
104 | return (result ? 0 : -1); | 103 | return (result ? 0 : -1); |
105 | } | 104 | } |