From 702934a163ce726c6d7309d0a5ad39009b0b4d1e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Sep 2010 13:04:03 +0300 Subject: [PATCH] atheros: Fix driver deinit function to be run hostapd uses hapd_deinit(), not deinit() wpa_driver_ops. --- src/drivers/driver_atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c index b7c630acb..5c25f00b1 100644 --- a/src/drivers/driver_atheros.c +++ b/src/drivers/driver_atheros.c @@ -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,