aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_priv.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-09 11:11:39 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-09 11:11:39 (GMT)
commitc3965310e6215e38aab26761da8db7bb70554c15 (patch)
tree9908f5a9941a5d2488346a768b517b756c412ffa /wpa_supplicant/wpa_priv.c
parentc51218372f6ee40c3830b4cb06fa58752e546d06 (diff)
downloadhostap-c3965310e6215e38aab26761da8db7bb70554c15.zip
hostap-c3965310e6215e38aab26761da8db7bb70554c15.tar.gz
hostap-c3965310e6215e38aab26761da8db7bb70554c15.tar.bz2
Use common get_hw_feature_data for hostapd and wpa_supplicant
This merges the driver wrapper implementations to use the same implementation both for hostapd and wpa_supplicant operations to avoid code duplication.
Diffstat (limited to 'wpa_supplicant/wpa_priv.c')
-rw-r--r--wpa_supplicant/wpa_priv.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/wpa_supplicant/wpa_priv.c b/wpa_supplicant/wpa_priv.c
index 0cc9fd5..4d4224c 100644
--- a/wpa_supplicant/wpa_priv.c
+++ b/wpa_supplicant/wpa_priv.c
@@ -1050,23 +1050,6 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr,
#ifdef CONFIG_CLIENT_MLME
-void wpa_supplicant_sta_free_hw_features(struct hostapd_hw_modes *hw_features,
- size_t num_hw_features)
-{
- size_t i;
-
- if (hw_features == NULL)
- return;
-
- for (i = 0; i < num_hw_features; i++) {
- os_free(hw_features[i].channels);
- os_free(hw_features[i].rates);
- }
-
- os_free(hw_features);
-}
-
-
void wpa_supplicant_sta_rx(void *ctx, const u8 *buf, size_t len,
struct ieee80211_rx_status *rx_status)
{