nl80211: Fix management frame sending after driver_ops cleanup

hostapd ended up with unregistered send_mlme() in commit
9f324b61ba. Fix this by registering the
handler both for wpa_supplicant-AP and hostapd use. [Bug 310]
This commit is contained in:
Jouni Malinen 2009-04-14 13:12:58 +03:00 committed by Jouni Malinen
parent b615a25e4e
commit 071f8ac4df

View file

@ -4541,9 +4541,9 @@ const struct wpa_driver_ops wpa_driver_nl80211_ops = {
.set_country = wpa_driver_nl80211_set_country,
#ifdef CONFIG_AP
.set_beacon = wpa_driver_nl80211_set_beacon,
.send_mlme = wpa_driver_nl80211_send_mlme,
#endif /* CONFIG_AP */
#if defined(CONFIG_AP) || defined(HOSTAPD)
.send_mlme = wpa_driver_nl80211_send_mlme,
.set_beacon_int = wpa_driver_nl80211_set_beacon_int,
.get_hw_feature_data = wpa_driver_nl80211_get_hw_feature_data,
#endif /* CONFIG_AP || HOSTAPD */