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

Deepak Saxena dsaxena at plexity.net
Tue Jul 1 15:52:59 EDT 2008


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).

Signed-off-by: Deepak Saxena <dsaxena at laptop.org>

On Jul 01 2008, at 11:43, andrey at cozybit.com was caught saying:
> 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)
> 
> 
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev

-- 
   _____   __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_/_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the libertas-dev mailing list