]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Replace "dummy" with "stub" in preauth_test
authorArowa Suliman <arowa@chromium.org>
Sun, 19 Sep 2021 06:24:29 +0000 (23:24 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 11 Oct 2021 17:53:03 +0000 (20:53 +0300)
Replace the word "dummy" with the inclusive word "stub".

Signed-off-by: Arowa Suliman <arowa@chromium.org>
wpa_supplicant/preauth_test.c

index 97c16fb80d2768584adf3bfcb3da8281377373da..31b55325f7f7d668934173fb586f3707770f6b6c 100644 (file)
@@ -220,7 +220,7 @@ static void eapol_test_poll(void *eloop_ctx, void *timeout_ctx)
 }
 
 
-static struct wpa_driver_ops dummy_driver;
+static struct wpa_driver_ops stub_driver;
 
 
 static void wpa_init_conf(struct wpa_supplicant *wpa_s, const char *ifname)
@@ -228,8 +228,8 @@ static void wpa_init_conf(struct wpa_supplicant *wpa_s, const char *ifname)
        struct l2_packet_data *l2;
        struct wpa_sm_ctx *ctx;
 
-       os_memset(&dummy_driver, 0, sizeof(dummy_driver));
-       wpa_s->driver = &dummy_driver;
+       os_memset(&stub_driver, 0, sizeof(stub_driver));
+       wpa_s->driver = &stub_driver;
 
        ctx = os_zalloc(sizeof(*ctx));
        assert(ctx != NULL);