]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Replace int status/reason_code with u16 variable
authorJouni Malinen <j@w1.fi>
Mon, 22 Apr 2019 17:17:38 +0000 (20:17 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 22 Apr 2019 19:08:07 +0000 (22:08 +0300)
commit4be17ffbd9aacd3c1b590907af12c85bf6ea3fb0
tree10d1e263c5e171f669fbe88d20dd81d3b2674842
parentcfde99a84bf38f6c80e81c51f3bcae9e97058d03
Replace int status/reason_code with u16 variable

These cases are for the IEEE 802.11 Status Code and Reason Code and
those fields are unsigned 16 bit values, so use the more appropriate
type consistently. This is mainly to document the uses and to make the
source code easier to understand.

Signed-off-by: Jouni Malinen <j@w1.fi>
20 files changed:
src/drivers/driver.h
src/drivers/driver_atheros.c
src/drivers/driver_bsd.c
src/drivers/driver_hostap.c
src/drivers/driver_ndis.c
src/drivers/driver_nl80211.c
src/drivers/driver_privsep.c
src/drivers/driver_wext.c
src/rsn_supp/wpa.h
src/rsn_supp/wpa_i.h
tests/eapol-fuzzer/eapol-fuzzer.c
tests/test-eapol.c
wpa_supplicant/driver_i.h
wpa_supplicant/ibss_rsn.c
wpa_supplicant/notify.c
wpa_supplicant/notify.h
wpa_supplicant/preauth_test.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant/wpas_glue.c