aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2016-02-15 14:53:13 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-21 15:14:51 (GMT)
commitea69d9737cfdf42610ad8134b05ecbf9daf1c289 (patch)
treeeb5e69462b7cc7ffa38f6e3f8106e85ed8c64c06 /wpa_supplicant/wpa_supplicant_i.h
parent75cc211d6b40b0028343bcca94c61e458445b4ec (diff)
downloadhostap-ea69d9737cfdf42610ad8134b05ecbf9daf1c289.zip
hostap-ea69d9737cfdf42610ad8134b05ecbf9daf1c289.tar.gz
hostap-ea69d9737cfdf42610ad8134b05ecbf9daf1c289.tar.bz2
wpa_supplicant: Share a single get_mode() implementation
There is no need to duplicate this helper function in multiple files. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 7b74f38..8742993 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -1206,4 +1206,7 @@ void fst_wpa_supplicant_fill_iface_obj(struct wpa_supplicant *wpa_s,
int wpas_sched_scan_plans_set(struct wpa_supplicant *wpa_s, const char *cmd);
+struct hostapd_hw_modes * get_mode(struct hostapd_hw_modes *modes,
+ u16 num_modes, enum hostapd_hw_mode mode);
+
#endif /* WPA_SUPPLICANT_I_H */