aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 11:32:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:37 -0400
commita46c64108b06ec68337e62e7c2d4b3e8aed74b82 (patch)
tree990494d871ff8f7394fe027d819f5c77b0e77a3f /drivers/net/wireless/libertas/main.c
parent9012b28a407511fb355f6d2176a12d4653489672 (diff)
[PATCH] libertas: tune debug code
* renamed module parameter back to libertas_debug * change from bit shifts to constants, that way it's easier to look at the source and specify the libertas_debug=0xXXXX module parameter * moved module_param from fw.c to main.c, where it belongs better Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index cd107366beb7..6fcb2bdfbed1 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -4,6 +4,7 @@
4 * thread etc.. 4 * thread etc..
5 */ 5 */
6 6
7#include <linux/moduleparam.h>
7#include <linux/delay.h> 8#include <linux/delay.h>
8#include <linux/freezer.h> 9#include <linux/freezer.h>
9#include <linux/etherdevice.h> 10#include <linux/etherdevice.h>
@@ -29,6 +30,13 @@ const char libertas_driver_version[] = "COMM-USB8388-" DRIVER_RELEASE_VERSION
29#endif 30#endif
30 ""; 31 "";
31 32
33
34/* Module parameters */
35unsigned int libertas_debug = 0;
36module_param(libertas_debug, int, 0644);
37
38
39
32#define WLAN_TX_PWR_DEFAULT 20 /*100mW */ 40#define WLAN_TX_PWR_DEFAULT 20 /*100mW */
33#define WLAN_TX_PWR_US_DEFAULT 20 /*100mW */ 41#define WLAN_TX_PWR_US_DEFAULT 20 /*100mW */
34#define WLAN_TX_PWR_JP_DEFAULT 16 /*50mW */ 42#define WLAN_TX_PWR_JP_DEFAULT 16 /*50mW */