Automatically include WPS and AP support if P2P is enabled
CONFIG_WPS=y and CONFIG_AP=y are required if CONFIG_P2P=y so we may as well enable them automatically in that case.
This commit is contained in:
parent
59d249255c
commit
8271f14a4d
2 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,8 @@ L_CFLAGS += -DCONFIG_P2P
|
||||||
NEED_GAS=y
|
NEED_GAS=y
|
||||||
NEED_OFFCHANNEL=y
|
NEED_OFFCHANNEL=y
|
||||||
NEED_80211_COMMON=y
|
NEED_80211_COMMON=y
|
||||||
|
CONFIG_WPS=y
|
||||||
|
CONFIG_AP=y
|
||||||
ifdef CONFIG_P2P_STRICT
|
ifdef CONFIG_P2P_STRICT
|
||||||
L_CFLAGS += -DCONFIG_P2P_STRICT
|
L_CFLAGS += -DCONFIG_P2P_STRICT
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -209,6 +209,8 @@ CFLAGS += -DCONFIG_P2P
|
||||||
NEED_GAS=y
|
NEED_GAS=y
|
||||||
NEED_OFFCHANNEL=y
|
NEED_OFFCHANNEL=y
|
||||||
NEED_80211_COMMON=y
|
NEED_80211_COMMON=y
|
||||||
|
CONFIG_WPS=y
|
||||||
|
CONFIG_AP=y
|
||||||
ifdef CONFIG_P2P_STRICT
|
ifdef CONFIG_P2P_STRICT
|
||||||
CFLAGS += -DCONFIG_P2P_STRICT
|
CFLAGS += -DCONFIG_P2P_STRICT
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue