aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2016-04-06 16:42:04 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-16 18:05:37 (GMT)
commit624b8a061f502d09ba932984482195bd5a839db5 (patch)
tree2e78e0d96a7205c41fbde8b04469e3efc522d0cd /wpa_supplicant
parente4fbc8d4239a806846a14ceb683f2db371c96f24 (diff)
downloadhostap-624b8a061f502d09ba932984482195bd5a839db5.zip
hostap-624b8a061f502d09ba932984482195bd5a839db5.tar.gz
hostap-624b8a061f502d09ba932984482195bd5a839db5.tar.bz2
utils: Add ssid_parse() function
Add a function that parses SSID in text or hex format. In case of the text format, the SSID is enclosed in double quotes. In case of the hex format, the SSID must include only hex digits and not be enclosed in double quotes. The input string may include other arguments after the SSID. Signed-off-by: David Spinadel <david.spinadel@intel.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index c485891..e6fc457 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -393,11 +393,6 @@ struct wps_ap_info {
u8 uuid[WPS_UUID_LEN];
};
-struct wpa_ssid_value {
- u8 ssid[SSID_MAX_LEN];
- size_t ssid_len;
-};
-
#define WPA_FREQ_USED_BY_INFRA_STATION BIT(0)
#define WPA_FREQ_USED_BY_P2P_CLIENT BIT(1)