Re: patch remove hostap debug code from standard compile mode

From: CIJOML
Date: Sun Sep 24 2006 - 07:57:27 EST


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@xxxxxxxx> 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
*/