]> git.ipfire.org Git - thirdparty/hostap.git/commit
PAE: Use sci->port more consistently
authorJouni Malinen <j@w1.fi>
Fri, 24 Jun 2016 14:48:27 +0000 (17:48 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 Jun 2016 16:02:58 +0000 (19:02 +0300)
commitce256b4a49ccdff80392e142415ed430ff94d2be
tree10c609744a004b1085216670512e06829ed2fe73
parent2f13e54dfc3a991804d5cd5cede291da6bdcbabc
PAE: Use sci->port more consistently

This is now annotated as be16, so use it as such in all cases instead of
first storing host byte order value and then swapping that to big endian
in other instances of the same structure. This gets rid of number of
sparse warnings.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/pae/ieee802_1x_kay.c
wpa_supplicant/wpas_kay.c