diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2007-11-15 17:41:31 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-18 21:47:37 -0500 |
commit | b242e891c218162cfbae064b1a9136cdbed5ee53 (patch) | |
tree | 3e460f49ffd103881082bc561d0536109517b617 /include/net/sock.h | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) |
rt2x00: Request usb_maxpacket() once
The usb max packet size won't change during the
device's presence. We should store it in a
variable inside rt2x00dev and use that.
This should also fix a division error when the
device is being hot-unplugged while a frame is
being send out.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions