Use a shared helper function for parsing hostapd.conf IEs
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 20 Apr 2016 10:19:08 +0000 (13:19 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 20 Apr 2016 10:19:08 +0000 (13:19 +0300)
commit4ac33989a6d6b933c098d8c87757cf2d00ce3855
tree0ffc3f337f35daeb49cc3be6e2229c1b4eeab3bb
parenta9112270615dd68d422623ebc26c21a6887a2a11
Use a shared helper function for parsing hostapd.conf IEs

wpabuf_parse_bin() can be used to take care of parsing a hexstring to a
wpabuf and a shared helper function can take care of clearing the
previous value when empty string is used.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c