Correct spelling of reseting (found while researching the "bb hang detected"

messages that are plaguing me).  While I'm here, delete trailing whitespace.
This commit is contained in:
Daniel Eischen 2010-02-19 18:23:45 +00:00
parent 7291848a0b
commit 4fa8d4eff4

View File

@ -467,7 +467,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
/*
* Allocate hardware transmit queues: one queue for
* beacon frames and one data queue for each QoS
* priority. Note that the hal handles reseting
* priority. Note that the hal handles resetting
* these queues at the needed time.
*
* XXX PS-Poll
@ -1475,7 +1475,7 @@ ath_bmiss_proc(void *arg, int pending)
DPRINTF(sc, ATH_DEBUG_ANY, "%s: pending %u\n", __func__, pending);
if (ath_hal_gethangstate(sc->sc_ah, 0xff, &hangs) && hangs != 0) {
if_printf(ifp, "bb hang detected (0x%x), reseting\n", hangs);
if_printf(ifp, "bb hang detected (0x%x), resetting\n", hangs);
ath_reset(ifp);
} else
ieee80211_beacon_miss(ifp->if_l2com);
@ -5342,7 +5342,7 @@ ath_chan_change(struct ath_softc *sc, struct ieee80211_channel *chan)
/*
* Set/change channels. If the channel is really being changed,
* it's done by reseting the chip. To accomplish this we must
* it's done by resetting the chip. To accomplish this we must
* first cleanup any pending DMA, then restart stuff after a la
* ath_init.
*/
@ -6048,7 +6048,7 @@ ath_setcurmode(struct ath_softc *sc, enum ieee80211_phymode mode)
sc->sc_protrix = ath_tx_findrix(sc, 2*2);
else
sc->sc_protrix = ath_tx_findrix(sc, 2*1);
/* NB: caller is responsible for reseting rate control state */
/* NB: caller is responsible for resetting rate control state */
#undef N
}