Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266249
b: refs/heads/master
c: f11cc94
h: refs/heads/master
i:
  266247: 070aa86
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Sep 19, 2011
1 parent f6ef698 commit 4a4abf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c28ec587a2f061b93a98ac02a53b4152cbe48f4
refs/heads/master: f11cc949fd9fed7040eba39eab11e7bee274b527
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq,
struct sk_buff *skb)
{
struct ath_frame_info *fi = get_frame_info(skb);
struct ath_buf *bf = fi->bf;
struct ieee80211_hdr *hdr;

TX_STAT_INC(txq->axq_qnum, a_retries);
Expand All @@ -270,6 +271,8 @@ static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq,

hdr = (struct ieee80211_hdr *)skb->data;
hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_RETRY);
dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
sizeof(*hdr), DMA_TO_DEVICE);
}

static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc)
Expand Down

0 comments on commit 4a4abf7

Please sign in to comment.