Hi Andrey, > -----Original Message----- > From: Andrey Yurovsky [mailto:andrey@xxxxxxxxxxx] > Sent: Tuesday, October 06, 2009 6:01 PM > To: Bing Zhao > Cc: libertas-dev@xxxxxxxxxxxxxxxxxxx; Amitkumar Karwar; linux-wireless@xxxxxxxxxxxxxxx > Subject: Re: [PATCH] libertas: Use lbs_is_cmd_allowed() check in command handling routines. > > 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? Thanks for your suggestion. Yes, it will be changed. Regards, Bing > > -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