]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0: Allow Hotspot 2.0 version number to be overridden for build
authorJouni Malinen <jouni@codeaurora.org>
Mon, 18 Jun 2018 16:42:38 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 18 Jun 2018 17:11:52 +0000 (20:11 +0300)
This can be used for testing and development purposes.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/ieee802_11_defs.h

index 7e3d8dbc116c3361958d58b18732afb7699730bd..e03a09530cce4bb6be08e5277f6b82dab04c9f34 100644 (file)
@@ -1335,7 +1335,9 @@ enum wmm_ac {
 #define HS20_DGAF_DISABLED 0x01
 #define HS20_PPS_MO_ID_PRESENT 0x02
 #define HS20_ANQP_DOMAIN_ID_PRESENT 0x04
+#ifndef HS20_VERSION
 #define HS20_VERSION 0x10 /* Release 2 */
+#endif /* HS20_VERSION */
 
 /* WNM-Notification WFA vendors specific subtypes */
 #define HS20_WNM_SUB_REM_NEEDED 0