From: Pontus Fuchs <pontus.fuchs@gmail.com>
To: Mohammed Shafi <shafi.wireless@gmail.com>
Cc: johannes@sipsolutions.net, linville@tuxdriver.com,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: Clear wowlan flag when drv_suspend returns failure
Date: Thu, 31 May 2012 12:55:33 +0200 [thread overview]
Message-ID: <4FC74E25.4060603@gmail.com> (raw)
In-Reply-To: <CAD2nsn0xqnnY9yRKvvq=yOgy0G8FeJ9qn4CX7JK3GkzceZ93Ew@mail.gmail.com>
Hi,
>> 1. Suspend is started but driver's drv_suspend returns error.
>> 2. Suspend is aborted. local->wowlan flag is left set.
>> 3. Interface is removed.
>
> got a doubt, in which path interface remove happens ?
Note that in between step 2 and 4 userspace is up and running again so I
just use ifconfig to reproduce this.
>> 4. Suspend again. This time open_count is 0 so drv_suspend is
>> not called and local->wowlan not cleared.
>> 5. On resume ieee80211_reconfig will call drv_resume since
>> local->wowlan is set.
//Pontus
next prev parent reply other threads:[~2012-05-31 10:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 10:34 [PATCH] mac80211: Clear wowlan flag when drv_suspend returns failure Pontus Fuchs
2012-05-31 10:52 ` Mohammed Shafi
2012-05-31 10:55 ` Pontus Fuchs [this message]
2012-05-31 11:16 ` Mohammed Shafi
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=4FC74E25.4060603@gmail.com \
--to=pontus.fuchs@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=shafi.wireless@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.