The length fields in the RSN elements are little endian. We need to convert then to host order when reading.