diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2010-10-27 11:26:46 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-10-27 11:26:46 +0300 |
commit | 2f9c6aa665807c5cb13ad8e90bea95787f3e1eed (patch) | |
tree | f1d59608cbdad1613b72a2621786379cb77c6fe0 /wpa_supplicant/wpa_supplicant_i.h | |
parent | e11f5a2cbc333113a3a1cc1aeea7f698c3936ca3 (diff) | |
download | external_wpa_supplicant_8_ti-2f9c6aa665807c5cb13ad8e90bea95787f3e1eed.zip external_wpa_supplicant_8_ti-2f9c6aa665807c5cb13ad8e90bea95787f3e1eed.tar.gz external_wpa_supplicant_8_ti-2f9c6aa665807c5cb13ad8e90bea95787f3e1eed.tar.bz2 |
Fix memory leak in P2P build without MLME
The ieee80211_sta_free_hw_features() function is now used outside
the MLME code, so better make sure it gets included in the build
to avoid leaking memory.
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r-- | wpa_supplicant/wpa_supplicant_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h index a4d7511..b2e2aa2 100644 --- a/wpa_supplicant/wpa_supplicant_i.h +++ b/wpa_supplicant/wpa_supplicant_i.h @@ -597,6 +597,8 @@ enum wpa_key_mgmt key_mgmt2driver(int key_mgmt); enum wpa_cipher cipher_suite2driver(int cipher); void wpa_supplicant_update_config(struct wpa_supplicant *wpa_s); void wpa_supplicant_clear_status(struct wpa_supplicant *wpa_s); +void ieee80211_sta_free_hw_features(struct hostapd_hw_modes *hw_features, + size_t num_hw_features); /* events.c */ void wpa_supplicant_mark_disassoc(struct wpa_supplicant *wpa_s); |