]> git.ipfire.org Git - thirdparty/hostap.git/commit
Simplify ERP element parsing
authorJouni Malinen <j@w1.fi>
Sun, 19 Apr 2015 13:35:52 +0000 (16:35 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Apr 2015 19:05:11 +0000 (22:05 +0300)
commite8997b94075f1faa1fda1d4d7bb23b7cd300de11
tree3a7887865172b8d187a5c1eb5220fe639d9bde03
parentf87c99c7874401bd5581b48ccf89a42eba360959
Simplify ERP element parsing

Check the element length in the parser and remove the length field from
struct ieee802_11_elems since the only allowed element length is one.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ap_list.c
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h