From: "Bob Copeland" <me@bobcopeland.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, mabbaswireless@gmail.com
Subject: Re: [PATCH 1/2] mac80211: add suspend/resume callbacks
Date: Tue, 9 Dec 2008 11:29:31 -0500 [thread overview]
Message-ID: <20081209161636.M22933@bobcopeland.com> (raw)
In-Reply-To: <1228838346.1029.10.camel@johannes.berg>
On Tue, 09 Dec 2008 16:59:06 +0100, Johannes Berg wrote
> > Is this what you had in mind? (now on top of your cfg80211 patch, btw
> > it called ->suspend() in the resume hook)
>
> Can you adopt that patch too?
Yeah, I already have it in my tree, I just didn't repost it because my
webmail sucks.
> > + /* remove all interfaces */
> > + list_for_each_entry(sdata, &local->interfaces, list) {
> > +
> > + if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
> > + sdata->vif.type == NL80211_IFTYPE_MONITOR &&
> > + netif_running(sdata->dev)) {
>
> But shouldn't that be != _AP_VLAN && != _MONITOR && running?
Oops, of course it should; that if() started life as continue.
But that would just mean a missed call to remove_interface()...
in the driver, which for ath5k just clears the mac, so I don't
know why it would affect the running state of the interface.
> I'd just add those to ieee80211_i.h, and I don't think you really need
> to protect them with #ifdef CONFIG_PM
Will do, thanks for the review.
--
Bob Copeland %% www.bobcopeland.com
next prev parent reply other threads:[~2008-12-09 16:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-23 4:41 [PATCH 1/2] mac80211: add suspend/resume callbacks Bob Copeland
2008-11-23 9:19 ` Johannes Berg
2008-11-24 22:29 ` Bob Copeland
2008-12-09 15:40 ` Bob Copeland
2008-12-09 15:59 ` Johannes Berg
2008-12-09 16:29 ` Bob Copeland [this message]
2008-12-09 16:50 ` Johannes Berg
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=20081209161636.M22933@bobcopeland.com \
--to=me@bobcopeland.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mabbaswireless@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.