OSDN Git Service

brcm80211: smac: fix endless retry of A-MPDU transmissions
authorArend van Spriel <arend@broadcom.com>
Thu, 23 Feb 2012 17:38:22 +0000 (18:38 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Feb 2012 20:57:35 +0000 (15:57 -0500)
commit85091fc0a75653e239dc8379658515e577544927
tree313502a3d2f0760a3180ae502673e9f4eae32043
parent0dee00686da88cc32753e02e4e8efdd9e326e4d2
brcm80211: smac: fix endless retry of A-MPDU transmissions

The A-MPDU code checked against a retry limit, but it was using
the wrong variable to do so. This patch fixes this to assure
proper retry mechanism.

This problem had a side-effect causing the mac80211 flush callback
to remain waiting forever as well. That side effect has been fixed
by commit by Stanislaw Gruszka:

commit f96b08a7e6f69c0f0a576554df3df5b1b519c479
Date:   Tue Jan 17 12:38:50 2012 +0100

    brcmsmac: fix tx queue flush infinite loop

    Reference:
    https://bugzilla.kernel.org/show_bug.cgi?id=42576

Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/ampdu.c