From: Arend van Spriel Date: Tue, 4 Oct 2011 21:18:48 +0000 (+0200) Subject: staging: brcm80211: remove setting ssn to zero upon AMPDU_TX_START X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=215f311b5b08a50765fc1a510e08a701498cd474;p=openwrt%2Fstaging%2Fblogic.git staging: brcm80211: remove setting ssn to zero upon AMPDU_TX_START 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 Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/mac80211_if.c b/drivers/staging/brcm80211/brcmsmac/mac80211_if.c index 6787498cb04d..c5afeaf69d9d 100644 --- a/drivers/staging/brcm80211/brcmsmac/mac80211_if.c +++ b/drivers/staging/brcm80211/brcmsmac/mac80211_if.c @@ -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;