TDLS: Ignore extra padding in all packets
authorArik Nemtsov <arik@wizery.com>
Wed, 18 Feb 2015 02:35:11 +0000 (21:35 -0500)
committerJouni Malinen <j@w1.fi>
Sat, 21 Feb 2015 14:07:53 +0000 (16:07 +0200)
commitc77ffc6dafe7909f62c0a5f437a439670b089554
treef517edb93c6eed0d3aeb8457dc3db539d6dea99e
parent5ce6ac11ab91dfd3e816d4c16be07588b8f819f2
TDLS: Ignore extra padding in all packets

Some APs (e.g., Cisco 1260) sometimes add padding to the end of short
TDLS management packets and that can look like invalid IEs. This was
allowed on M3 and discovery packets, but not in others. Allow it for the
other packets as well, since required IEs are verified in the code
anyway.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
src/rsn_supp/tdls.c