diff options
author | Roland Vossen <rvossen@broadcom.com> | 2011-03-25 05:23:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-05 01:43:16 -0400 |
commit | 02ee6d56b791ca004b141c3fc4939f020b8782dc (patch) | |
tree | f79f91fa7a4bc2dffc6a2f9baf7caab03a4b3be2 | |
parent | 4dd2b32f3c48112da2ffe55279aedc10c3784f90 (diff) |
staging: brcm80211: fix for 'AC_BE txop..' logs spammed problem
Larry Finger reported this issue. The driver, under certain
conditions, spews log messages like this:
wl0: wlc_d11hdrs_mac80211: AC_BE txop exceeded phylen 159/256
dur 1778/1504
These log messages turned out to be false alarms. Root cause was
that the AC was derived from the sk_buff::priority field. Fix was
to derive the AC from the sk_buff using skb_get_queue_mapping()
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/brcm80211/brcmsmac/wlc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_main.c b/drivers/staging/brcm80211/brcmsmac/wlc_main.c index 639b5d7c9603..181a626d1984 100644 --- a/drivers/staging/brcm80211/brcmsmac/wlc_main.c +++ b/drivers/staging/brcm80211/brcmsmac/wlc_main.c | |||
@@ -6283,7 +6283,7 @@ wlc_d11hdrs_mac80211(struct wlc_info *wlc, struct ieee80211_hw *hw, | |||
6283 | ((preamble_type[1] == WLC_MM_PREAMBLE) == | 6283 | ((preamble_type[1] == WLC_MM_PREAMBLE) == |
6284 | (txh->MModeFbrLen != 0))); | 6284 | (txh->MModeFbrLen != 0))); |
6285 | 6285 | ||
6286 | ac = wme_fifo2ac[queue]; | 6286 | ac = skb_get_queue_mapping(p); |
6287 | if (SCB_WME(scb) && qos && wlc->edcf_txop[ac]) { | 6287 | if (SCB_WME(scb) && qos && wlc->edcf_txop[ac]) { |
6288 | uint frag_dur, dur, dur_fallback; | 6288 | uint frag_dur, dur, dur_fallback; |
6289 | 6289 | ||