Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291113
b: refs/heads/master
c: 4e0ad25
h: refs/heads/master
i:
  291111: f005435
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Mar 5, 2012
1 parent 324e8db commit de51e41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: 627e67a656bbb1d616c1ca2d056138a164111a52
refs/heads/master: 4e0ad2591adde7bec878a4b37a073427aec3e19c
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ath/ath9k/beacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void ath_beacon_setup(struct ath_softc *sc, struct ath_vif *avp,
info.txpower = MAX_RATE_POWER;
info.keyix = ATH9K_TXKEYIX_INVALID;
info.keytype = ATH9K_KEY_TYPE_CLEAR;
info.flags = ATH9K_TXDESC_NOACK;
info.flags = ATH9K_TXDESC_NOACK | ATH9K_TXDESC_INTREQ;

info.buf_addr[0] = bf->bf_buf_addr;
info.buf_len[0] = roundup(skb->len, 4);
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,9 +2296,12 @@ void ath_tx_edma_tasklet(struct ath_softc *sc)
break;
}

/* Skip beacon completions */
if (ts.qid == sc->beacon.beaconq)
/* Process beacon completions separately */
if (ts.qid == sc->beacon.beaconq) {
sc->beacon.tx_processed = true;
sc->beacon.tx_last = !(ts.ts_status & ATH9K_TXERR_MASK);
continue;
}

txq = &sc->tx.txq[ts.qid];

Expand Down

0 comments on commit de51e41

Please sign in to comment.