staging: brcm80211: remove setting ssn to zero upon AMPDU_TX_START
authorArend van Spriel <arend@broadcom.com>
Tue, 4 Oct 2011 21:18:48 +0000 (23:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:39:00 +0000 (13:39 -0700)
The ssn should be given a valid value by the driver or it should not
override the value. Removed override to zero from the driver.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/mac80211_if.c

index 6787498cb04d3a7a09c2cba0b0350b76948f0195..c5afeaf69d9da476f064d33d15ed0300dcfd9658 100644 (file)
@@ -669,11 +669,6 @@ brcms_ops_ampdu_action(struct ieee80211_hw *hw,
                                  tid);
                        return -EINVAL;
                }
-               /*
-                * Future improvement:
-                *   Use the starting sequence number provided ...
-                */
-               *ssn = 0;
                ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
                break;