Replace "analyse" with "analyze"

Reference: madwifi-dfs@3544


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3779 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2008-07-17 02:26:04 +00:00
parent f85e81e0da
commit 03fc511969
2 changed files with 8 additions and 8 deletions

View File

@ -769,7 +769,7 @@ static HAL_BOOL rp_analyze_long_pulse(
} }
#endif /* #ifdef ATH_RADAR_LONG_PULSE */ #endif /* #ifdef ATH_RADAR_LONG_PULSE */
static HAL_BOOL rp_analyse_short_pulse( static HAL_BOOL rp_analyze_short_pulse(
struct ath_softc *sc, struct ath_rp *last_pulse, struct ath_softc *sc, struct ath_rp *last_pulse,
u_int32_t *index, u_int32_t *pri, u_int32_t *matching_pulses, u_int32_t *index, u_int32_t *pri, u_int32_t *matching_pulses,
u_int32_t *missed_pulses, u_int32_t *noise_pulses) u_int32_t *missed_pulses, u_int32_t *noise_pulses)
@ -1246,7 +1246,7 @@ static const char *get_longpulse_desc(int lp) {
} }
#endif /* #ifdef ATH_RADAR_LONG_PULSE */ #endif /* #ifdef ATH_RADAR_LONG_PULSE */
static HAL_BOOL rp_analyse(struct ath_softc *sc) static HAL_BOOL rp_analyze(struct ath_softc *sc)
{ {
HAL_BOOL radar = 0; HAL_BOOL radar = 0;
struct ath_rp *pulse; struct ath_rp *pulse;
@ -1314,7 +1314,7 @@ static HAL_BOOL rp_analyse(struct ath_softc *sc)
u_int32_t lp_noise = 0; u_int32_t lp_noise = 0;
u_int32_t lp_pulses = 0; u_int32_t lp_pulses = 0;
#endif /* #ifdef ATH_RADAR_LONG_PULSE */ #endif /* #ifdef ATH_RADAR_LONG_PULSE */
if (rp_analyse_short_pulse(sc, pulse, &index, if (rp_analyze_short_pulse(sc, pulse, &index,
&pri, &matched, &missed, &pri, &matched, &missed,
&noise)) { &noise)) {
int compare_result = (!radar || best_index == -1) ? int compare_result = (!radar || best_index == -1) ?
@ -1516,7 +1516,7 @@ static void ath_rp_clear(struct ath_softc *sc)
sc->sc_rp = NULL; sc->sc_rp = NULL;
INIT_LIST_HEAD(&sc->sc_rp_list); INIT_LIST_HEAD(&sc->sc_rp_list);
sc->sc_rp_num = 0; sc->sc_rp_num = 0;
sc->sc_rp_analyse = NULL; sc->sc_rp_analyze = NULL;
} }
static void ath_rp_tasklet(TQUEUE_ARG data) static void ath_rp_tasklet(TQUEUE_ARG data)
@ -1524,8 +1524,8 @@ static void ath_rp_tasklet(TQUEUE_ARG data)
struct net_device *dev = (struct net_device *)data; struct net_device *dev = (struct net_device *)data;
struct ath_softc *sc = dev->priv; struct ath_softc *sc = dev->priv;
if (sc->sc_rp_analyse != NULL) if (sc->sc_rp_analyze != NULL)
sc->sc_rp_analyse(sc); sc->sc_rp_analyze(sc);
} }
void ath_rp_init(struct ath_softc *sc) void ath_rp_init(struct ath_softc *sc)
@ -1551,7 +1551,7 @@ void ath_rp_init(struct ath_softc *sc)
} }
sc->sc_rp_num = 0; sc->sc_rp_num = 0;
sc->sc_rp_analyse = rp_analyse; sc->sc_rp_analyze = rp_analyze;
/* compute sc_rp_min */ /* compute sc_rp_min */
sc->sc_rp_min = 2; sc->sc_rp_min = 2;

View File

@ -839,7 +839,7 @@ struct ath_softc {
struct list_head sc_rp_list; struct list_head sc_rp_list;
int sc_rp_num; int sc_rp_num;
int sc_rp_min; int sc_rp_min;
HAL_BOOL (*sc_rp_analyse)(struct ath_softc *sc); HAL_BOOL (*sc_rp_analyze)(struct ath_softc *sc);
struct ATH_TQ_STRUCT sc_rp_tq; struct ATH_TQ_STRUCT sc_rp_tq;
int sc_rp_ignored; /* if set, we ignored all int sc_rp_ignored; /* if set, we ignored all