Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298475
b: refs/heads/master
c: a4d6367
h: refs/heads/master
i:
  298473: 3552aca
  298471: 0f414ca
v: v3
  • Loading branch information
Sujith Manoharan authored and John W. Linville committed Mar 28, 2012
1 parent 76fe8c2 commit 2b6eb90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca907a90735877ceff800d08f780f2f1b4388afa
refs/heads/master: a4d6367fa77fb604ce62582e1c0998e0ed098927
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta,
an->sta = sta;
an->vif = vif;

if (sta->ht_cap.ht_supported) {
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) {
ath_tx_node_init(sc, an);
an->maxampdu = 1 << (IEEE80211_HT_MAX_AMPDU_FACTOR +
sta->ht_cap.ampdu_factor);
Expand All @@ -659,7 +659,7 @@ static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta)
an->sta = NULL;
#endif

if (sta->ht_cap.ht_supported)
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT)
ath_tx_node_cleanup(sc, an);
}

Expand Down

0 comments on commit 2b6eb90

Please sign in to comment.