Changeset 2585
- Timestamp:
- 07/13/07 17:46:33 (1 year ago)
- Files:
-
- trunk/ath/if_ath.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ath/if_ath.c
r2583 r2585 5563 5563 #endif 5564 5564 rs = &bf->bf_dsstatus.ds_rxstat; 5565 5566 len = rs->rs_datalen; 5567 /* DMA sync. dies spectacularly if len == 0 */ 5568 if (len == 0) 5569 goto rx_next; 5570 5565 5571 if (rs->rs_more) { 5566 5572 /* … … 5613 5619 */ 5614 5620 /* XXX frag's and QoS frames */ 5615 len = rs->rs_datalen;5616 5621 if (len >= sizeof (struct ieee80211_frame)) { 5617 5622 bus_dma_sync_single(sc->sc_bdev, … … 5643 5648 * to receive another frame. 5644 5649 */ 5645 len = rs->rs_datalen;5646 5650 bus_dma_sync_single(sc->sc_bdev, 5647 5651 bf->bf_skbaddr, len, BUS_DMA_FROMDEVICE);
