diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 86c43d112a4b..dc85d3e0ffe5 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -116,7 +116,7 @@ EXPORT_SYMBOL_GPL(rt2x00usb_vendor_req_buff_lock); | |||
116 | int rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, | 116 | int rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, |
117 | const u8 request, const u8 requesttype, | 117 | const u8 request, const u8 requesttype, |
118 | const u16 offset, void *buffer, | 118 | const u16 offset, void *buffer, |
119 | const u16 buffer_length, const int timeout) | 119 | const u16 buffer_length) |
120 | { | 120 | { |
121 | int status = 0; | 121 | int status = 0; |
122 | unsigned char *tb; | 122 | unsigned char *tb; |
@@ -131,7 +131,7 @@ int rt2x00usb_vendor_request_buff(struct rt2x00_dev *rt2x00dev, | |||
131 | bsize = min_t(u16, CSR_CACHE_SIZE, len); | 131 | bsize = min_t(u16, CSR_CACHE_SIZE, len); |
132 | status = rt2x00usb_vendor_req_buff_lock(rt2x00dev, request, | 132 | status = rt2x00usb_vendor_req_buff_lock(rt2x00dev, request, |
133 | requesttype, off, tb, | 133 | requesttype, off, tb, |
134 | bsize, timeout); | 134 | bsize, REGISTER_TIMEOUT); |
135 | 135 | ||
136 | tb += bsize; | 136 | tb += bsize; |
137 | len -= bsize; | 137 | len -= bsize; |