linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Deepak Saxena <dsaxena@plexity.net>
To: andrey@cozybit.com
Cc: linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org
Subject: Re: [PATCH] libertas: support USB persistence on suspend/resume (resend)
Date: Tue, 1 Jul 2008 12:52:59 -0700	[thread overview]
Message-ID: <20080701195259.GA6109@plexity.net> (raw)
In-Reply-To: <486a7ae9.14be600a.11a8.ffffa94a@mx.google.com>


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@laptop.org>

On Jul 01 2008, at 11:43, andrey@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@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@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_/_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  reply	other threads:[~2008-07-01 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 18:43 [PATCH] libertas: support USB persistence on suspend/resume (resend) andrey
2008-07-01 19:52 ` Deepak Saxena [this message]
2008-07-01 21:18 ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080701195259.GA6109@plexity.net \
    --to=dsaxena@plexity.net \
    --cc=andrey@cozybit.com \
    --cc=libertas-dev@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).