atheros: Fix driver deinit function to be run

hostapd uses hapd_deinit(), not deinit() wpa_driver_ops.
This commit is contained in:
Jouni Malinen 2010-09-05 13:04:03 +03:00
parent 4a46e82fb4
commit 702934a163

View 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,