]> git.ipfire.org Git - thirdparty/hostap.git/commit
WMM: Fix estimated medium time calculation for some corner cases
authorJouni Malinen <j@w1.fi>
Sat, 11 Feb 2017 10:09:11 +0000 (12:09 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 11 Feb 2017 10:12:28 +0000 (12:12 +0200)
commit0d605670309db1c6a30e6c9febf2dbe4fbb34af7
treed282636bc667f0c47ed086c6247acc7663dd5cec
parentae26d302139cdebadea113dac4d5642271b65493
WMM: Fix estimated medium time calculation for some corner cases

It was possible for the int medium_time variable to overflow, so use a
64-bit unsigned integer to get a large enough value for the
multiplication.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wmm.c