atheros: Fix driver deinit function to be run
authorJouni Malinen <j@w1.fi>
Sun, 5 Sep 2010 10:04:03 +0000 (13:04 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 Sep 2010 10:04:03 +0000 (13:04 +0300)
hostapd uses hapd_deinit(), not deinit() wpa_driver_ops.

src/drivers/driver_atheros.c

index b7c630a..5c25f00 100644 (file)
@@ -1277,7 +1277,7 @@ madwifi_commit(void *priv)
 const struct wpa_driver_ops wpa_driver_atheros_ops = {
        .name                   = "atheros",
        .hapd_init              = madwifi_init,
-       .deinit                 = madwifi_deinit,
+       .hapd_deinit            = madwifi_deinit,
        .set_ieee8021x          = madwifi_set_ieee8021x,
        .set_privacy            = madwifi_set_privacy,
        .set_key                = madwifi_set_key,