aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/usb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c
index 77d08d928274..07653ded6c59 100644
--- a/drivers/net/wimax/i2400m/usb.c
+++ b/drivers/net/wimax/i2400m/usb.c
@@ -624,6 +624,21 @@ out:
624 624
625 625
626static 626static
627int i2400mu_reset_resume(struct usb_interface *iface)
628{
629 int result;
630 struct device *dev = &iface->dev;
631 struct i2400mu *i2400mu = usb_get_intfdata(iface);
632 struct i2400m *i2400m = &i2400mu->i2400m;
633
634 d_fnstart(3, dev, "(iface %p)\n", iface);
635 result = i2400m_dev_reset_handle(i2400m, "device reset on resume");
636 d_fnend(3, dev, "(iface %p) = %d\n", iface, result);
637 return result < 0 ? result : 0;
638}
639
640
641static
627struct usb_device_id i2400mu_id_table[] = { 642struct usb_device_id i2400mu_id_table[] = {
628 { USB_DEVICE(0x8086, USB_DEVICE_ID_I6050) }, 643 { USB_DEVICE(0x8086, USB_DEVICE_ID_I6050) },
629 { USB_DEVICE(0x8086, 0x0181) }, 644 { USB_DEVICE(0x8086, 0x0181) },
@@ -643,6 +658,7 @@ struct usb_driver i2400mu_driver = {
643 .name = KBUILD_MODNAME, 658 .name = KBUILD_MODNAME,
644 .suspend = i2400mu_suspend, 659 .suspend = i2400mu_suspend,
645 .resume = i2400mu_resume, 660 .resume = i2400mu_resume,
661 .reset_resume = i2400mu_reset_resume,
646 .probe = i2400mu_probe, 662 .probe = i2400mu_probe,
647 .disconnect = i2400mu_disconnect, 663 .disconnect = i2400mu_disconnect,
648 .id_table = i2400mu_id_table, 664 .id_table = i2400mu_id_table,