diff options
| author | Xin LI <delphij@FreeBSD.org> | 2005-10-09 04:15:59 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2005-10-09 04:15:59 +0000 |
| commit | f877875263edc6f4b3a50d00cd98c6f8109edd3c (patch) | |
| tree | afeead4bf789f18751bffb17c8336779f10132dd /sys/dev/ral | |
| parent | 5c087ae0e15ece1b58c09b4aea7a4d7b36ae03ae (diff) | |
Notes
Diffstat (limited to 'sys/dev/ral')
| -rw-r--r-- | sys/dev/ral/if_ral.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c index e8672c4ff215..b7b7316238f1 100644 --- a/sys/dev/ral/if_ral.c +++ b/sys/dev/ral/if_ral.c @@ -508,9 +508,8 @@ ral_attach(device_t dev) fail7: bpfdetach(ifp); ieee80211_ifdetach(ic); -fail6: if_free(ifp); - - ral_free_rx_ring(sc, &sc->rxq); + if_free(ifp); +fail6: ral_free_rx_ring(sc, &sc->rxq); fail5: ral_free_tx_ring(sc, &sc->bcnq); fail4: ral_free_tx_ring(sc, &sc->prioq); fail3: ral_free_tx_ring(sc, &sc->atimq); |
