aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-08 15:51:44 -0700
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-22 00:13:18 -0700
commite069c0cf7c169ae5a8bfdc8d083a5d66fbef73d8 (patch)
tree3f29430d85ba6b7866a56da9e52b26a60a4c6223 /net
parent4f72427998b105392e60bae7a6798a0c96fe4f0a (diff)
downloadmrst-s0i3-test-e069c0cf7c169ae5a8bfdc8d083a5d66fbef73d8.tar.gz
mrst-s0i3-test-e069c0cf7c169ae5a8bfdc8d083a5d66fbef73d8.tar.xz
mrst-s0i3-test-e069c0cf7c169ae5a8bfdc8d083a5d66fbef73d8.zip
wimax/i2400m: usb: fix device reset on autosuspend while not yet idle
When the i2400m is connected to a network, the host interface (USB) cannot be suspended. For that to happen, the device has to have negotiated with the basestation to put the link on IDLE state. If the host tries to put the device in standby while it is connected but not idle, the device resets, as the driver should not do that. To avoid triggering that, when the USB susbsytem requires the driver to autosuspend the device, the driver checks if the device is not yet idle. If it is not, the request is rejected (will be retried again later on after the autosuspend timeout). At some point the device will enter idle and the request will succeed (unless of course, there is network traffic, but at that point, there is no idle neither in the link or the host interface). Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions