Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341522
b: refs/heads/master
c: b034174
h: refs/heads/master
v: v3
  • Loading branch information
Seth Forshee authored and John W. Linville committed Nov 20, 2012
1 parent 4bb9470 commit c4c92f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 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: 1ca47e687a44b3db86fca9241109309fb36c3e37
refs/heads/master: b03417443c4dd3f65a070fe95cea1f2682eb0aa8
16 changes: 8 additions & 8 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,14 @@ static struct bcma_device_id brcms_coreid_table[] = {
};
MODULE_DEVICE_TABLE(bcma, brcms_coreid_table);

#ifdef DEBUG
static int msglevel = 0xdeadbeef;
module_param(msglevel, int, 0);
#endif /* DEBUG */
#if defined(CONFIG_BRCMDBG)
/*
* Module parameter for setting the debug message level. Available
* flags are specified by the BRCM_DL_* macros in
* drivers/net/wireless/brcm80211/include/defs.h.
*/
module_param_named(debug, brcm_msg_level, uint, S_IRUGO | S_IWUSR);
#endif

static struct ieee80211_channel brcms_2ghz_chantable[] = {
CHAN2GHZ(1, 2412, IEEE80211_CHAN_NO_HT40MINUS),
Expand Down Expand Up @@ -1184,10 +1188,6 @@ static DECLARE_WORK(brcms_driver_work, brcms_driver_init);

static int __init brcms_module_init(void)
{
#ifdef DEBUG
if (msglevel != 0xdeadbeef)
brcm_msg_level = msglevel;
#endif
if (!schedule_work(&brcms_driver_work))
return -EBUSY;

Expand Down
7 changes: 1 addition & 6 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,7 @@ struct edcf_acparam {
} __packed;

/* debug/trace */
uint brcm_msg_level =
#if defined(DEBUG)
BRCM_DL_INFO;
#else
0;
#endif /* DEBUG */
uint brcm_msg_level;

/* TX FIFO number to WME/802.1E Access Category */
static const u8 wme_fifo2ac[] = {
Expand Down

0 comments on commit c4c92f5

Please sign in to comment.