Ticket #1252: tmp.3.diff
| File tmp.3.diff, 0.8 kB (added by mentor, 5 years ago) |
|---|
-
ath/if_ath.c
old new 7320 7320 7321 7321 #ifdef ATH_SUPERG_FF 7322 7322 { 7323 struct sk_buff *skbnext = bf->bf_skb, *skb = NULL; 7323 /* Handle every skb after the first one - these are FF extra 7324 * buffers */ 7325 struct sk_buff *tskb = NULL, *skb = bf->bf_skb->next; 7324 7326 unsigned int i; 7325 7327 7326 7328 for (i = 0; i < bf->bf_numdescff; i++) { 7327 skb = skbnext; 7328 skbnext = skb->next; 7329 tskb = skb->next; 7329 7330 bus_unmap_single(sc->sc_bdev, bf->bf_skbaddrff[i], 7330 7331 skb->len, BUS_DMA_TODEVICE); 7331 7332 DPRINTF(sc, ATH_DEBUG_TX_PROC, "%s: free skb %p\n", 7332 7333 __func__, skb); 7333 7334 ath_tx_capture(sc->sc_dev, ds, skb); 7335 skb = tskb; 7334 7336 } 7335 7337 } 7336 7338 bf->bf_numdescff = 0;
