diff options
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r-- | sys/dev/ic/ath.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 1327d85f077..202a4eb4324 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.100 2014/07/10 11:34:48 stsp Exp $ */ +/* $OpenBSD: ath.c,v 1.101 2014/07/12 18:48:17 tedu Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -1678,7 +1678,7 @@ ath_desc_free(struct ath_softc *sc) TAILQ_INIT(&sc->sc_rxbuf); TAILQ_INIT(&sc->sc_txbuf); TAILQ_INIT(&sc->sc_txq); - free(sc->sc_bufptr, M_DEVBUF); + free(sc->sc_bufptr, M_DEVBUF, 0); sc->sc_bufptr = NULL; } @@ -2999,7 +2999,7 @@ ath_getchannels(struct ath_softc *sc, HAL_BOOL outdoor, HAL_BOOL xchanmode) HAL_MODE_ALL, outdoor, xchanmode)) { printf("%s: unable to collect channel list from hal\n", ifp->if_xname); - free(chans, M_TEMP); + free(chans, M_TEMP, 0); return EINVAL; } @@ -3030,7 +3030,7 @@ ath_getchannels(struct ath_softc *sc, HAL_BOOL outdoor, HAL_BOOL xchanmode) /* count valid channels */ sc->sc_nchan++; } - free(chans, M_TEMP); + free(chans, M_TEMP, 0); if (sc->sc_nchan < 1) { printf("%s: no valid channels for regdomain %s(%u)\n", |