lkml.org 
[lkml]   [2006]   [Sep]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromCIJOML <>
SubjectRe: patch remove hostap debug code from standard compile mode
DateSun, 24 Sep 2006 13:56:51 +0200
ah! Thanks resending

Michal

Dne neděle 24 září 2006 02:37 Petr Baudis napsal(a):
>   Hi,
>
> Dear diary, on Sat, Sep 23, 2006 at 10:42:31PM CEST, I got a letter
> where CIJOML <cijoml@volny.cz> said that...
>
> > I think we don't want have debug messages running hostap drivers in
> > normal operations until we have option in menu to select debug mode.
> >
> > Michal
> >
> > Please include:
> >
> > --- linux-2.6.18/drivers/net/wireless/hostap/hostap_config.h.orig
> > 2006-09-20 05:42:06.000000000 +0200
> > +++ linux-2.6.18/drivers/net/wireless/hostap/hostap_config.h   
> > 2006-09-23 22:30:50.000000000 +0200
> > @@ -38,10 +38,10 @@
> >   */
> >
> >  /* Do not include debug messages into the driver */
> > -/* #define PRISM2_NO_DEBUG */
> > +#define PRISM2_NO_DEBUG
> >
> >  /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
> > -/* #define PRISM2_NO_PROCFS_DEBUG */
> > +#define PRISM2_NO_PROCFS_DEBUG
> >
> >  /* Do not include station functionality (i.e., allow only Master (Host
> > AP) mode
> >   */
>
>   JFYI, your patch got linewrapped.
--- linux-2.6.18/drivers/net/wireless/hostap/hostap_config.h.orig       2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18/drivers/net/wireless/hostap/hostap_config.h    2006-09-23 22:30:50.000000000 +0200
@@ -38,10 +38,10 @@
  */

 /* Do not include debug messages into the driver */
-/* #define PRISM2_NO_DEBUG */
+#define PRISM2_NO_DEBUG

 /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
-/* #define PRISM2_NO_PROCFS_DEBUG */
+#define PRISM2_NO_PROCFS_DEBUG

 /* Do not include station functionality (i.e., allow only Master (Host AP) mode
  */
\
 
 \ /
  Last update: 2006-09-24 11:59    [from the cache]
©2003-2008