Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341521
b: refs/heads/master
c: 1ca47e6
h: refs/heads/master
i:
  341519: d5cb21d
v: v3
  • Loading branch information
Seth Forshee authored and John W. Linville committed Nov 20, 2012
1 parent 08fac0d commit 4bb9470
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 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: f5c4f10852d42012c6a7a793c15bf18882e61da0
refs/heads/master: 1ca47e687a44b3db86fca9241109309fb36c3e37
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/brcm80211/brcmsmac/ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ brcms_c_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb,
wiphy_err(wiphy, "%s: ampdu tx phy error (0x%x)\n",
__func__, txs->phyerr);

if (brcm_msg_level & LOG_ERROR_VAL) {
if (brcm_msg_level & BRCM_DL_INFO) {
brcmu_prpkt("txpkt (AMPDU)", p);
brcms_c_print_txdesc((struct d11txh *) p->data);
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ struct edcf_acparam {
/* debug/trace */
uint brcm_msg_level =
#if defined(DEBUG)
LOG_ERROR_VAL;
BRCM_DL_INFO;
#else
0;
#endif /* DEBUG */
Expand Down Expand Up @@ -902,7 +902,7 @@ brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs)
mcl = le16_to_cpu(txh->MacTxControlLow);

if (txs->phyerr) {
if (brcm_msg_level & LOG_ERROR_VAL) {
if (brcm_msg_level & BRCM_DL_INFO) {
wiphy_err(wlc->wiphy, "phyerr 0x%x, rate 0x%x\n",
txs->phyerr, txh->MainRates);
brcms_c_print_txdesc(txh);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/brcm80211/brcmsmac/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

#define BCMMSG(dev, fmt, args...) \
do { \
if (brcm_msg_level & LOG_TRACE_VAL) \
if (brcm_msg_level & BRCM_DL_INFO) \
wiphy_err(dev, "%s: " fmt, __func__, ##args); \
} while (0)

Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/brcm80211/include/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@
#define PM_OFF 0
#define PM_MAX 1

/* Message levels */
#define LOG_ERROR_VAL 0x00000001
#define LOG_TRACE_VAL 0x00000002
/* Debug levels */
#define BRCM_DL_INFO 0x00000001

#define PM_OFF 0
#define PM_MAX 1
Expand Down

0 comments on commit 4bb9470

Please sign in to comment.