aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-09-05 10:04:03 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-05 14:36:49 (GMT)
commit00bb72c0a9a96123db6bc235938406adbafb480c (patch)
tree12639b5c22b6481ad17914aaf33f378964dd4226
parent2dccd18d814e28c9e47f12af5e3d0e271dad7b35 (diff)
downloadhostap-07-00bb72c0a9a96123db6bc235938406adbafb480c.zip
hostap-07-00bb72c0a9a96123db6bc235938406adbafb480c.tar.gz
hostap-07-00bb72c0a9a96123db6bc235938406adbafb480c.tar.bz2
atheros: Fix driver deinit function to be run
hostapd uses hapd_deinit(), not deinit() wpa_driver_ops. (cherry picked from commit 702934a163ce726c6d7309d0a5ad39009b0b4d1e)
-rw-r--r--src/drivers/driver_atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index b7c630a..5c25f00 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,