WNM: Clean up le16 variable use to avoid sparse warnings
authorJouni Malinen <j@w1.fi>
Tue, 31 Dec 2013 17:41:47 +0000 (19:41 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 31 Dec 2013 17:41:47 +0000 (19:41 +0200)
commit5ace51a48aa6931edec3232df5191230977ef239
tree7889fca6ba8432ad8e6de27bb967450e87901a05
parentc5838683a8b46ad22602400453f807bd611144d1
WNM: Clean up le16 variable use to avoid sparse warnings

intval is marked le16 and should be used through proper byte order
conversion functions even if it ended up getting set correctly due to
the two operations cancelling each other.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/wnm_ap.c