From: Andrey Yurovsky <andrey@cozybit.com>
To: Bing Zhao <bzhao@marvell.com>
Cc: libertas-dev@lists.infradead.org,
Amitkumar Karwar <akarwar@marvell.com>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] libertas: Use lbs_is_cmd_allowed() check in command handling routines.
Date: Tue, 6 Oct 2009 18:01:14 -0700 [thread overview]
Message-ID: <45e8e6c40910061801u2b67abb5v4658a7bbf1e0726a@mail.gmail.com> (raw)
In-Reply-To: <1254873770-31241-1-git-send-email-bzhao@marvell.com>
Hi Bing,
On Tue, Oct 6, 2009 at 5:02 PM, Bing Zhao <bzhao@marvell.com> wrote:
> From: Amitkumar Karwar <akarwar@marvell.com>
> +static int lbs_is_cmd_allowed(struct lbs_private *priv)
> +{
> + int ret = 1;
> +
> + lbs_deb_enter(LBS_DEB_CMD);
> +
> + if (!priv->is_auto_deep_sleep_enabled) {
> + if (priv->is_deep_sleep) {
> + lbs_deb_cmd("IOCTLS called when station"
> + " is in deep sleep\n");
> + ret = 0;
> + }
> + }
Can this debug message be something like "command not allowed in deep
sleep" instead of mentioning IOCTLS?
-Andrey
next prev parent reply other threads:[~2009-10-07 1:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 0:02 [PATCH] libertas: Use lbs_is_cmd_allowed() check in command handling routines Bing Zhao
2009-10-07 1:01 ` Andrey Yurovsky [this message]
2009-10-07 1:12 ` Bing Zhao
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=45e8e6c40910061801u2b67abb5v4658a7bbf1e0726a@mail.gmail.com \
--to=andrey@cozybit.com \
--cc=akarwar@marvell.com \
--cc=bzhao@marvell.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