staging: brcm80211: fix for 'AC_BE txop..' logs spammed problem
authorRoland Vossen <rvossen@broadcom.com>
Fri, 25 Mar 2011 09:23:08 +0000 (10:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 05:43:16 +0000 (22:43 -0700)
commit02ee6d56b791ca004b141c3fc4939f020b8782dc
treef79f91fa7a4bc2dffc6a2f9baf7caab03a4b3be2
parent4dd2b32f3c48112da2ffe55279aedc10c3784f90
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>
drivers/staging/brcm80211/brcmsmac/wlc_main.c