Skip to contentSkip to conversation

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

PATCH In review [email protected] 3 participants 3 messages Jul 1, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

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

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

---

drivers/net/wireless/libertas/if_usb.c +1 -0
index 39b8fbb..aa3a4ff 100644
@@ -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)
#1 lore raw

We need this on the OLPC XO to ensure that we don't loose connectivity to the mesh and/or AP during our aggressive suspend/resume cycling that we are doing (suspend after 30s of inactivity and working towards even more agressive s/r cycles).

On Jul 01 2008, at 11:43, [email protected] was caught saying:

Quoted 24 lines

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

---

drivers/net/wireless/libertas/if_usb.c +1 -0
index 39b8fbb..aa3a4ff 100644
@@ -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)

_______________________________________________
libertas-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/libertas-dev

Signature · 4 lines
   _____   __o  Deepak Saxena - Living CarFree and CareFree          (o>
------    -\<,  "When I see an adult on a bicycle, I do not despair  //\
 ----- ( )/ ( )  for the future of the human race." -H.G Wells       V_/_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Acked-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 4 lines · On Tue, 2008-07-01 at 11:43 -0700, [email protected] wrote:

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

Quoted 19 lines

---

drivers/net/wireless/libertas/if_usb.c +1 -1
index 39b8fbb..aa3a4ff 100644
@@ -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)
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html