From: Kalle Valo <kalle.valo@nokia.com>
To: "Vivek Natarajan" <vivek.natraj@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v6 3/3] mac80211: implement dynamic power save
Date: Fri, 19 Dec 2008 09:37:20 +0200 [thread overview]
Message-ID: <87r644y5sf.fsf@nokia.com> (raw)
In-Reply-To: <8e92b4100812182221n747661b5pe4d18e8c564f871b@mail.gmail.com> (ext Vivek Natarajan's message of "Fri\, 19 Dec 2008 11\:51\:24 +0530")
Vivek Natarajan <vivek.natraj@gmail.com> writes:
> On Fri, Dec 19, 2008 at 11:47 AM, Vivek Natarajan
> <vivek.natraj@gmail.com> wrote:
>> On Fri, Dec 19, 2008 at 3:05 AM, Kalle Valo <kalle.valo@nokia.com> wrote:
>>> @@ -872,6 +878,9 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
>>> local->oper_channel_type = NL80211_CHAN_NO_HT;
>>> config_changed |= IEEE80211_CONF_CHANGE_HT;
>>>
>>> + del_timer_sync(&local->dynamic_ps_timer);
>>> + cancel_work_sync(&local->dynamic_ps_enable_work);
>>
>> In addition, shouldn't we have this 'cancel_work' in ieee80211_stop
>> or where ever in the stop/detach path since the ps timer may be
>> triggered even after the interface is brought down.
>
> Sorry, ieee80211_set_disassoc is called from ieee80211_stop too...
Yeah, I got lucky. John fixed this a while ago.
--
Kalle Valo
next prev parent reply other threads:[~2008-12-19 7:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 21:35 [PATCH v6 0/3] mac80211 dynamic power save Kalle Valo
2008-12-18 21:35 ` [PATCH v6 1/3] mac80211: enable IEEE80211_CONF_PS only when associated Kalle Valo
2008-12-18 21:35 ` [PATCH v6 2/3] mac80211: track master queue status Kalle Valo
2008-12-18 21:35 ` [PATCH v6 3/3] mac80211: implement dynamic power save Kalle Valo
2008-12-19 6:17 ` Vivek Natarajan
2008-12-19 6:21 ` Vivek Natarajan
2008-12-19 7:37 ` Kalle Valo [this message]
2008-12-19 7:45 ` Kalle Valo
2008-12-19 9:21 ` Ivo Van Doorn
2008-12-23 21:55 ` [PATCH v6 0/3] mac80211 " Johannes Berg
2008-12-28 12:54 ` Kalle Valo
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=87r644y5sf.fsf@nokia.com \
--to=kalle.valo@nokia.com \
--cc=linux-wireless@vger.kernel.org \
--cc=vivek.natraj@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.