wpa_supplicant: Make CONFIG_MBO independent of CONFIG_AP
CONFIG_MBO was defined inside ifdef CONFIG_AP, so when AP support was not compiled, MBO was not compiled either. However, CONFIG_MBO is not related AP support, so it should not depend on CONFIG_AP. Fix this by moving CONFIG_MBO outside of ifdef CONFIG_AP. Signed-off-by: Avrahams Stern <avraham.stern@intel.com>
This commit is contained in:
parent
d044d2f7d8
commit
c433c50c9c
2 changed files with 10 additions and 10 deletions
|
@ -841,11 +841,6 @@ L_CFLAGS += -DCONFIG_IEEE80211AC
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_MBO
|
||||
OBJS += mbo.c
|
||||
L_CFLAGS += -DCONFIG_MBO
|
||||
endif
|
||||
|
||||
ifdef NEED_AP_MLME
|
||||
OBJS += src/ap/wmm.c
|
||||
OBJS += src/ap/ap_list.c
|
||||
|
@ -867,6 +862,11 @@ OBJS += src/ap/hs20.c
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_MBO
|
||||
OBJS += mbo.c
|
||||
L_CFLAGS += -DCONFIG_MBO
|
||||
endif
|
||||
|
||||
ifdef NEED_RSN_AUTHENTICATOR
|
||||
L_CFLAGS += -DCONFIG_NO_RADIUS
|
||||
NEED_AES_WRAP=y
|
||||
|
|
|
@ -882,11 +882,6 @@ CFLAGS += -DCONFIG_IEEE80211AC
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_MBO
|
||||
OBJS += mbo.o
|
||||
CFLAGS += -DCONFIG_MBO
|
||||
endif
|
||||
|
||||
ifdef NEED_AP_MLME
|
||||
OBJS += ../src/ap/wmm.o
|
||||
OBJS += ../src/ap/ap_list.o
|
||||
|
@ -908,6 +903,11 @@ OBJS += ../src/ap/hs20.o
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_MBO
|
||||
OBJS += mbo.o
|
||||
CFLAGS += -DCONFIG_MBO
|
||||
endif
|
||||
|
||||
ifdef NEED_RSN_AUTHENTICATOR
|
||||
CFLAGS += -DCONFIG_NO_RADIUS
|
||||
NEED_AES_WRAP=y
|
||||
|
|
Loading…
Reference in a new issue