Search Linux Wireless

Re: [PATCH] libertas: Use lbs_is_cmd_allowed() check in command handling routines.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bing,

On Tue, Oct 6, 2009 at 5:02 PM, Bing Zhao <bzhao@xxxxxxxxxxx> wrote:
> From: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
> +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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux