From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Eliad Peller <eliad@wizery.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2] mac80211: add cancel_hw_scan() callback
Date: Mon, 13 Jun 2011 13:12:07 +0200 [thread overview]
Message-ID: <20110613111206.GA5316@redhat.com> (raw)
In-Reply-To: <1307958450-11500-1-git-send-email-eliad@wizery.com>
On Mon, Jun 13, 2011 at 12:47:30PM +0300, Eliad Peller wrote:
> When suspending, __ieee80211_suspend() calls ieee80211_scan_cancel(),
> which will only cancel sw scan. In order to cancel hw scan, the
> low-level driver has to cancel it in the suspend() callback. however,
> this is too late, as a new scan_work will be enqueued (while the driver
> is going into suspend).
>
> Add a new cancel_hw_scan() callback, asking the driver to cancel an
> active hw scan, and call it in ieee80211_scan_cancel().
>
> Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Thanks
prev parent reply other threads:[~2011-06-13 11:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-13 9:47 [PATCH v2] mac80211: add cancel_hw_scan() callback Eliad Peller
2011-06-13 11:12 ` Stanislaw Gruszka [this message]
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=20110613111206.GA5316@redhat.com \
--to=sgruszka@redhat.com \
--cc=eliad@wizery.com \
--cc=johannes@sipsolutions.net \
--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).