Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265626
b: refs/heads/master
c: b5be7e4
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Assmann authored and John W. Linville committed Aug 22, 2011
1 parent 6ba28f9 commit cf2354b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4042bb0932832328650fe9fb93d9afcb6699a04
refs/heads/master: b5be7e4c8f7bc60625302979a5c445738e3b1034
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/rtlwifi/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@

#include "wifi.h"

static unsigned int debug = DBG_EMERG;
module_param(debug, uint, 0);
MODULE_PARM_DESC(debug, "Set global debug level for rtlwifi (0,2-5)");

void rtl_dbgp_flag_init(struct ieee80211_hw *hw)
{
struct rtl_priv *rtlpriv = rtl_priv(hw);
u8 i;

rtlpriv->dbg.global_debuglevel = DBG_EMERG;
rtlpriv->dbg.global_debuglevel = debug;

rtlpriv->dbg.global_debugcomponents =
COMP_ERR | COMP_FW | COMP_INIT | COMP_RECV | COMP_SEND |
Expand Down

0 comments on commit cf2354b

Please sign in to comment.