aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-04-30 12:14:04 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:40 -0400
commitbeb7b04a09a9da8b12417f7b74fbcceedb087fc3 (patch)
treef8444bf36675818b8cbd6c8578d1647bbcd9a5ea /drivers/net/wimax/i2400m
parentda01c7a49bfc94dbfa66af5ca5e1063b10bc6a10 (diff)
USB: remove leftover references to udev->autosuspend_disabled
This patch (as1373) fixes a couple of drivers outside the USB subtree. Devices are now disabled or enabled for autosuspend by calling a core function instead of setting a flag. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wimax/i2400m')
-rw-r--r--drivers/net/wimax/i2400m/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c
index d8c4d6497fdf..d555e37a665c 100644
--- a/drivers/net/wimax/i2400m/usb.c
+++ b/drivers/net/wimax/i2400m/usb.c
@@ -505,7 +505,7 @@ int i2400mu_probe(struct usb_interface *iface,
505 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ 505 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
506 device_init_wakeup(dev, 1); 506 device_init_wakeup(dev, 1);
507 usb_dev->autosuspend_delay = 15 * HZ; 507 usb_dev->autosuspend_delay = 15 * HZ;
508 usb_dev->autosuspend_disabled = 0; 508 usb_enable_autosuspend(usb_dev);
509#endif 509#endif
510 510
511 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT); 511 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT);