]> git.ipfire.org Git - thirdparty/hostap.git/commit
HE: Fix HE operation field size
authorJohn Crispin <john@phrozen.org>
Thu, 25 Apr 2019 14:57:48 +0000 (16:57 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Apr 2019 20:51:04 +0000 (23:51 +0300)
commit3869c159d95ef5168bd287c71a906ae596f607b7
tree749f4163f54dad83b960ed11e0568df85b968691
parenta5dbddbf03e27a3697519511b9eca19120507cbe
HE: Fix HE operation field size

The current code will always use the size required when all optional
elements are present. This will cause the Linux kernel to consider the
field to be malformed if the elements are not actually flagged as being
present.

Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com>
Signed-off-by: John Crispin <john@phrozen.org>
src/ap/ieee802_11_he.c