Replace "analyse" with "analyze"
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 17 Jul 2008 02:26:04 +0000 (02:26 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 17 Jul 2008 02:26:04 +0000 (02:26 +0000)
Reference: madwifi-dfs@3544

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3779 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath_radar.c
ath/if_athvar.h

index 693aa3403bc251276230fa705efad6c6ddfaa09e..ac8e48e31c7d37fbf2c7a3bfdcca1a83f1c40c72 100644 (file)
@@ -769,7 +769,7 @@ static HAL_BOOL rp_analyze_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, 
        u_int32_t *index, u_int32_t *pri, u_int32_t *matching_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 */
 
-static HAL_BOOL rp_analyse(struct ath_softc *sc)
+static HAL_BOOL rp_analyze(struct ath_softc *sc)
 {
        HAL_BOOL radar = 0;
        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_pulses     = 0;
 #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, 
                                                        &noise)) {
                                        int compare_result = (!radar || best_index == -1) ? 
@@ -1516,7 +1516,7 @@ static void ath_rp_clear(struct ath_softc *sc)
        sc->sc_rp = NULL;
        INIT_LIST_HEAD(&sc->sc_rp_list);
        sc->sc_rp_num = 0;
-       sc->sc_rp_analyse = NULL;
+       sc->sc_rp_analyze = NULL;
 }
 
 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 ath_softc *sc = dev->priv;
 
-       if (sc->sc_rp_analyse != NULL)
-               sc->sc_rp_analyse(sc);
+       if (sc->sc_rp_analyze != NULL)
+               sc->sc_rp_analyze(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_analyse = rp_analyse;
+       sc->sc_rp_analyze = rp_analyze;
 
        /* compute sc_rp_min */
        sc->sc_rp_min = 2;
index dfad896bc067cb5d94d1be2b1b4718717838a6ba..2ee6edad711f87bce1db4dc667837882dfa18e4a 100644 (file)
@@ -839,7 +839,7 @@ struct ath_softc {
        struct list_head sc_rp_list;
        int sc_rp_num;
        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;
        
        int sc_rp_ignored;                      /* if set, we ignored all