[PATCH] libertas: support USB persistence on suspend/resume (resend)

andrey at cozybit.com andrey at cozybit.com
Tue Jul 1 14:43:53 EDT 2008


Handle .reset_resume() so that libertas can survive suspend/resume without 
reloading the firmware.

Signed-off-by: Andrey Yurovsky <andrey at cozybit.com>
---
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 39b8fbb..aa3a4ff 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -962,6 +962,7 @@ static struct usb_driver if_usb_driver = {
 	.id_table = if_usb_table,
 	.suspend = if_usb_suspend,
 	.resume = if_usb_resume,
+	.reset_resume = if_usb_resume,
 };
 
 static int __init if_usb_init_module(void)





More information about the libertas-dev mailing list