Commit f3c9d640 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Don't compile rtw_ap.c when CONFIG_8723AU_AP_MODE=n

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a402b800
r8723au-y := \ r8723au-y := \
core/rtw_ap.o \
core/rtw_cmd.o \ core/rtw_cmd.o \
core/rtw_efuse.o \ core/rtw_efuse.o \
core/rtw_ioctl_set.o \ core/rtw_ioctl_set.o \
...@@ -50,6 +49,7 @@ r8723au-y := \ ...@@ -50,6 +49,7 @@ r8723au-y := \
os_dep/xmit_linux.o os_dep/xmit_linux.o
r8723au-$(CONFIG_8723AU_BT_COEXIST) += hal/rtl8723a_bt-coexist.o r8723au-$(CONFIG_8723AU_BT_COEXIST) += hal/rtl8723a_bt-coexist.o
r8723au-$(CONFIG_8723AU_AP_MODE) += core/rtw_ap.o
obj-$(CONFIG_R8723AU) := r8723au.o obj-$(CONFIG_R8723AU) := r8723au.o
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include <rtl8723a_cmd.h> #include <rtl8723a_cmd.h>
#include <rtl8723a_hal.h> #include <rtl8723a_hal.h>
#ifdef CONFIG_8723AU_AP_MODE
extern unsigned char WMM_OUI23A[]; extern unsigned char WMM_OUI23A[];
extern unsigned char WPS_OUI23A[]; extern unsigned char WPS_OUI23A[];
extern unsigned char P2P_OUI23A[]; extern unsigned char P2P_OUI23A[];
...@@ -2028,5 +2026,3 @@ void stop_ap_mode23a(struct rtw_adapter *padapter) ...@@ -2028,5 +2026,3 @@ void stop_ap_mode23a(struct rtw_adapter *padapter)
rtw23a_free_mlme_priv_ie_data(pmlmepriv); rtw23a_free_mlme_priv_ie_data(pmlmepriv);
} }
#endif /* CONFIG_8723AU_AP_MODE */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment