diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2006-08-08 16:42:01 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2006-08-08 16:42:01 +0000 |
| commit | 05680ab62243541878d6549dd1694d95ad58b61e (patch) | |
| tree | cd686ba39fd760c468de5c772c9075a8dde8285b /sys/dev/ath | |
| parent | a07fb7be3bc7861b694b417b3b6209add4a7f960 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_ath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 2aa3fcc079d8..cd51f53b8261 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -3561,6 +3561,8 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf * also calculates the number of descriptors we need. */ error = ath_tx_dmasetup(sc, bf, m0); + if (error != 0) + return error; bf->bf_node = ni; /* NB: held reference */ m0 = bf->bf_m; /* NB: may have changed */ wh = mtod(m0, struct ieee80211_frame *); |
