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

Dan Williams dcbw at redhat.com
Tue Jul 1 17:18:06 EDT 2008


On Tue, 2008-07-01 at 11:43 -0700, andrey at cozybit.com wrote:
> Handle .reset_resume() so that libertas can survive suspend/resume without 
> reloading the firmware.
> 
> Signed-off-by: Andrey Yurovsky <andrey at cozybit.com>

Acked-by: Dan Williams <dcbw at redhat.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)
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html




More information about the libertas-dev mailing list