]> git.ipfire.org Git - thirdparty/hostap.git/commit
RRM: Fix Range Request max age parsing
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 9 Feb 2017 11:23:00 +0000 (13:23 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 9 Feb 2017 11:26:06 +0000 (13:26 +0200)
commit13b30052d998bb3a8b542edf1a24a79b967e1503
tree707af1ad26049b47e8656539fd1efa32ab41a103
parent360440db2df247cd5558127b85a1789f756fe3bf
RRM: Fix Range Request max age parsing

This 16-bit field uses little endian encoding and it must be read with
WPA_GET_LE16() instead of assuming host byte order is little endian. In
addition, this could be misaligned, so using a u16 pointer here was not
appropriate.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/rrm.c