]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd14f25bf707422e745c13ff42d61d1f7f29da8d5
tree313502a3d2f0760a3180ae502673e9f4eae32043
parentb86e54bb4e8efb03b5cc5bd2668370e70880d139
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 9bc6bdb0815d85e9233f59c99c52e390cc15471e
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