copy value into unsigned int variable
Wed Jul 1 08:11:02 PDT 2015
On Wed, Jul 01, 2015 at 02:14:13PM +0000, volker.obhof.w at sew-eurodrive.de wrote:
> In BSS Load IE station count is interpreted as unsinged int value. I have to copy it from IE which is a little endian into unsigned int in big endian.
> Which function can I use in wpa_supplicant to do that?
The WPA_GET_LE16(ptr) macro is likely the best way of getting a usable
version of that in the host byte order.
Jouni Malinen PGP id EFC895FA
More information about the Hostap