Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202779
b: refs/heads/master
c: 5c6dd92
h: refs/heads/master
i:
  202777: 1897c82
  202775: ad06917
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and John W. Linville committed Jun 2, 2010
1 parent 41e6e03 commit 2e97d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 9f167f6480c87e22ce1b934cc839d1786b373b70
refs/heads/master: 5c6dd921776946d12cbbae8ab92c5d6773b25810
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
enum ath9k_rx_qtype qtype;
bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA);
int dma_type;
u8 rx_status_len = ah->caps.rx_status_len;

if (edma)
dma_type = DMA_BIDIRECTIONAL;
Expand Down Expand Up @@ -1121,7 +1122,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
if (!skb)
continue;

hdr = (struct ieee80211_hdr *) skb->data;
hdr = (struct ieee80211_hdr *) (skb->data + rx_status_len);
rxs = IEEE80211_SKB_RXCB(skb);

hw = ath_get_virt_hw(sc, hdr);
Expand Down

0 comments on commit 2e97d90

Please sign in to comment.