aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-04-07 22:34:17 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-07 22:34:17 (GMT)
commit897a5ccee83090b837aad63b81dbc4d0e77d06f5 (patch)
treee8220607d07f1e598856e82265a5b538cbf4eebd /wpa_supplicant/wnm_sta.h
parentf6ce70dc0d53ecb5df8af08a36d2379370129b56 (diff)
downloadhostap-897a5ccee83090b837aad63b81dbc4d0e77d06f5.zip
hostap-897a5ccee83090b837aad63b81dbc4d0e77d06f5.tar.gz
hostap-897a5ccee83090b837aad63b81dbc4d0e77d06f5.tar.bz2
WNM: Remove unnecessary present flag
The structures are all allocated, so the pointer can be compared to NULL to determine whether the subelement was present. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
-rw-r--r--wpa_supplicant/wnm_sta.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h
index e34522a..d2eb96d 100644
--- a/wpa_supplicant/wnm_sta.h
+++ b/wpa_supplicant/wnm_sta.h
@@ -10,45 +10,37 @@
#define WNM_STA_H
struct tsf_info {
- u8 present;
u8 tsf_offset[2];
u8 beacon_interval[2];
};
struct condensed_country_string {
- u8 present;
u8 country_string[2];
};
struct bss_transition_candidate {
- u8 present;
u8 preference;
};
struct bss_termination_duration {
- u8 present;
u8 duration[10];
};
struct bearing {
- u8 present;
u8 bearing[8];
};
struct measurement_pilot {
- u8 present;
u8 measurement_pilot;
u8 subelem_len;
u8 subelems[255];
};
struct rrm_enabled_capabilities {
- u8 present;
u8 capabilities[5];
};
struct multiple_bssid {
- u8 present;
u8 max_bssid_indicator;
u8 subelem_len;
u8 subelems[255];