aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAlwin Beukers <alwin@broadcom.com>2011-11-10 14:30:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-11 14:28:32 -0500
commite9ca530a7b183691d9799fd40772c2cd398b494a (patch)
treeff1aab8574f8c8f8377220713ad17a68fb946fc1 /drivers/net
parenta0f24c8a9328b58c2881e6a1c139110700a1a584 (diff)
brcm80211: smac: don't modify sta parameters when adding sta
Reported-by: Johannes Berg <johannes@sipsolutions.net> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Alwin Beukers <alwin@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
index 8e35c62d0bb1..6d3c7b6c5aa0 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
@@ -619,13 +619,6 @@ brcms_ops_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
619 wl->pub->global_ampdu->scb = scb; 619 wl->pub->global_ampdu->scb = scb;
620 wl->pub->global_ampdu->max_pdu = 16; 620 wl->pub->global_ampdu->max_pdu = 16;
621 621
622 sta->ht_cap.ht_supported = true;
623 sta->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
624 sta->ht_cap.ampdu_density = AMPDU_DEF_MPDU_DENSITY;
625 sta->ht_cap.cap = IEEE80211_HT_CAP_GRN_FLD |
626 IEEE80211_HT_CAP_SGI_20 |
627 IEEE80211_HT_CAP_SGI_40 | IEEE80211_HT_CAP_40MHZ_INTOLERANT;
628
629 /* 622 /*
630 * minstrel_ht initiates addBA on our behalf by calling 623 * minstrel_ht initiates addBA on our behalf by calling
631 * ieee80211_start_tx_ba_session() 624 * ieee80211_start_tx_ba_session()