Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121796
b: refs/heads/master
c: f161796
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Nov 10, 2008
1 parent 5410ba8 commit 7a3871a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 74508b29c51158e5b45bca13e702c68ef5c3b641
refs/heads/master: f161796700ed89b07dff2ad4ba3a932bc721af7e
11 changes: 5 additions & 6 deletions trunk/drivers/net/wireless/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1859,11 +1859,6 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
struct ath_hal *ah = sc->sc_ah;
int frm_type;

if (tx_info->control.sta) {
an = (struct ath_node *)tx_info->control.sta->drv_priv;
tid = ATH_AN_2_TID(an, bf->bf_tidno);
}

frm_type = get_hw_packet_type(skb);

INIT_LIST_HEAD(&bf_head);
Expand All @@ -1890,7 +1885,11 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,

spin_lock_bh(&txctl->txq->axq_lock);

if (bf_isht(bf) && (sc->sc_flags & SC_OP_TXAGGR)) {
if (bf_isht(bf) && (sc->sc_flags & SC_OP_TXAGGR) &&
tx_info->control.sta) {
an = (struct ath_node *)tx_info->control.sta->drv_priv;
tid = ATH_AN_2_TID(an, bf->bf_tidno);

if (ath_aggr_query(sc, an, bf->bf_tidno)) {
/*
* Try aggregation if it's a unicast data frame
Expand Down

0 comments on commit 7a3871a

Please sign in to comment.