diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wimax/i2400m/usb-fw.c | 2 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/usb-rx.c | 2 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/usb-tx.c | 2 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/usb.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wimax/i2400m/usb-fw.c b/drivers/net/wimax/i2400m/usb-fw.c index b59aee0ee649..8ec8b6d56a13 100644 --- a/drivers/net/wimax/i2400m/usb-fw.c +++ b/drivers/net/wimax/i2400m/usb-fw.c | |||
@@ -102,7 +102,7 @@ ssize_t i2400mu_tx_bulk_out(struct i2400mu *i2400mu, void *buf, size_t buf_size) | |||
102 | epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out); | 102 | epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out); |
103 | pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); | 103 | pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); |
104 | retry: | 104 | retry: |
105 | result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, HZ); | 105 | result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, 200); |
106 | switch (result) { | 106 | switch (result) { |
107 | case 0: | 107 | case 0: |
108 | if (len != buf_size) { | 108 | if (len != buf_size) { |
diff --git a/drivers/net/wimax/i2400m/usb-rx.c b/drivers/net/wimax/i2400m/usb-rx.c index 245587feb8c8..22d127bf79e1 100644 --- a/drivers/net/wimax/i2400m/usb-rx.c +++ b/drivers/net/wimax/i2400m/usb-rx.c | |||
@@ -214,7 +214,7 @@ retry: | |||
214 | } | 214 | } |
215 | result = usb_bulk_msg( | 215 | result = usb_bulk_msg( |
216 | i2400mu->usb_dev, usb_pipe, rx_skb->data + rx_skb->len, | 216 | i2400mu->usb_dev, usb_pipe, rx_skb->data + rx_skb->len, |
217 | rx_size, &read_size, HZ); | 217 | rx_size, &read_size, 200); |
218 | usb_mark_last_busy(i2400mu->usb_dev); | 218 | usb_mark_last_busy(i2400mu->usb_dev); |
219 | switch (result) { | 219 | switch (result) { |
220 | case 0: | 220 | case 0: |
diff --git a/drivers/net/wimax/i2400m/usb-tx.c b/drivers/net/wimax/i2400m/usb-tx.c index a3c46e99c804..6cdf0036a146 100644 --- a/drivers/net/wimax/i2400m/usb-tx.c +++ b/drivers/net/wimax/i2400m/usb-tx.c | |||
@@ -105,7 +105,7 @@ int i2400mu_tx(struct i2400mu *i2400mu, struct i2400m_msg_hdr *tx_msg, | |||
105 | usb_pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); | 105 | usb_pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); |
106 | retry: | 106 | retry: |
107 | result = usb_bulk_msg(i2400mu->usb_dev, usb_pipe, | 107 | result = usb_bulk_msg(i2400mu->usb_dev, usb_pipe, |
108 | tx_msg, tx_msg_size, &sent_size, HZ); | 108 | tx_msg, tx_msg_size, &sent_size, 200); |
109 | usb_mark_last_busy(i2400mu->usb_dev); | 109 | usb_mark_last_busy(i2400mu->usb_dev); |
110 | switch (result) { | 110 | switch (result) { |
111 | case 0: | 111 | case 0: |
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c index 5e079408f16e..34df0906caae 100644 --- a/drivers/net/wimax/i2400m/usb.c +++ b/drivers/net/wimax/i2400m/usb.c | |||
@@ -173,7 +173,7 @@ int __i2400mu_send_barker(struct i2400mu *i2400mu, | |||
173 | pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); | 173 | pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); |
174 | memcpy(buffer, barker, barker_size); | 174 | memcpy(buffer, barker, barker_size); |
175 | ret = usb_bulk_msg(i2400mu->usb_dev, pipe, buffer, barker_size, | 175 | ret = usb_bulk_msg(i2400mu->usb_dev, pipe, buffer, barker_size, |
176 | &actual_len, HZ); | 176 | &actual_len, 200); |
177 | if (ret < 0) { | 177 | if (ret < 0) { |
178 | if (ret != -EINVAL) | 178 | if (ret != -EINVAL) |
179 | dev_err(dev, "E: barker error: %d\n", ret); | 179 | dev_err(dev, "E: barker error: %d\n", ret); |