]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: brcm80211: bugfix for div by zero in minstrel_ht_tx_status
authorRoland Vossen <rvossen@broadcom.com>
Tue, 12 Apr 2011 12:34:41 +0000 (14:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:10 +0000 (09:32 +0900)
commit02ca42f78e4cc3b41c8fecb9ad3a8f547db87a85
treec9918673eeabe6bb298a566bdaf3ac7f05cc116c
parent9edb40ddd05b47703bb1b5757ba36e96c77d1fdd
staging: brcm80211: bugfix for div by zero in minstrel_ht_tx_status

commit e9c661e08c2a6015c1b7cba1cecefa27a089df71 upstream.

Caused by brcmsmac.ko suppling a 0 value to Mac80211. Mac80211 subsequently
divides by this number. Bug only occurred on AMPDU traffic. This is a fix
for https://bugzilla.kernel.org/show_bug.cgi?id=32032, titled
'Divide error in minstrel_ht_tx_status followed by hang', reported by
Wouter Cloetens.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c