staging: rtl8723au: Don't compile rtw_ap.c when CONFIG_8723AU_AP_MODE=n
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
a402b8003c
Коммит
f3c9d6409b
|
@ -1,5 +1,4 @@
|
|||
r8723au-y := \
|
||||
core/rtw_ap.o \
|
||||
core/rtw_cmd.o \
|
||||
core/rtw_efuse.o \
|
||||
core/rtw_ioctl_set.o \
|
||||
|
@ -50,6 +49,7 @@ r8723au-y := \
|
|||
os_dep/xmit_linux.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
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include <rtl8723a_cmd.h>
|
||||
#include <rtl8723a_hal.h>
|
||||
|
||||
#ifdef CONFIG_8723AU_AP_MODE
|
||||
|
||||
extern unsigned char WMM_OUI23A[];
|
||||
extern unsigned char WPS_OUI23A[];
|
||||
extern unsigned char P2P_OUI23A[];
|
||||
|
@ -2028,5 +2026,3 @@ void stop_ap_mode23a(struct rtw_adapter *padapter)
|
|||
|
||||
rtw23a_free_mlme_priv_ie_data(pmlmepriv);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_8723AU_AP_MODE */
|
||||
|
|
Загрузка…
Ссылка в новой задаче