4 rs = &bf->bf_dsstatus.ds_rxstat;
7 - /* DMA sync. dies spectacularly if len == 0 */
11 /* Frame spans multiple descriptors; this
12 * cannot happen yet as we don't support
13 @@ -6513,8 +6510,12 @@
14 * setup again to receive another frame.
15 * NB: Meta-data (rs, noise, tsf) in the ath_buf is still
17 - bus_dma_sync_single(sc->sc_bdev,
18 - bf->bf_skbaddr, len, BUS_DMA_FROMDEVICE);
20 + /* DMA sync. dies spectacularly if len == 0 */
22 + bus_dma_sync_single(sc->sc_bdev,
23 + bf->bf_skbaddr, len, BUS_DMA_FROMDEVICE);
25 skb = ath_rxbuf_take_skb(sc, bf);
27 sc->sc_stats.ast_ant_rx[rs->rs_antenna]++;