Skip to contentSkip to conversation

patch remove hostap debug code from standard compile mode

DISCUSSION CIJOML 1 participant 2 messages Sep 23, 2006 – Sep 24, 2006 1 message not in the archive Networking drivers (wireless)

lore
Share & tools
lore

CIJOML

author
#0 lore raw

Hi,

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw

ah! Thanks resending

Michal

Dne neděle 24 září 2006 02:37 Petr Baudis napsal(a):

Quoted 27 lines

Hi,

Dear diary, on Sat, Sep 23, 2006 at 10:42:31PM CEST, I got a letter where CIJOML <[email protected]> said that...

Quoted 22 lines

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
(quoted diff) +2 -2
@@ -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
 
Quoted 5 lines
Quoted 3 lines
(quoted diff) +0 -0
 /* Do not include station functionality (i.e., allow only Master (Host

AP) mode
*/

JFYI, your patch got linewrapped.

drivers/net/wireless/hostap/hostap_config.h 2006-09-23 22:30:50.000000000 +0200 renamed from drivers/net/wireless/hostap/hostap_config.h.orig 2006-09-20 05:42:06.000000000 +0200 +2 -2
@@ -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
  */