This makes it easier for static analyzer to confirm that the length field bounds are checked. WPA_GET_BE16() is also used instead of explicit byte-swapping operations in this file. (CID 68129) Signed-off-by: Jouni Malinen <j@w1.fi>