aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723au/core/rtw_ap.c
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2015-10-23 21:33:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:45:43 -0700
commit575ff198f5a3981e8d9fb54e61876f9082ca3bd7 (patch)
tree5de605146860a145e1241fbe5da6fcb22e282e93 /drivers/staging/rtl8723au/core/rtw_ap.c
parentstaging: r8723au: replace explicit NULL comparisons with ! (diff)
downloadlinux-dev-575ff198f5a3981e8d9fb54e61876f9082ca3bd7.tar.xz
linux-dev-575ff198f5a3981e8d9fb54e61876f9082ca3bd7.zip
staging: r8723au: remove externs and include needed header file
Remove extern declaration and add include of header file to get same. Addresses checkpatch.pl: WARNING: externs should be avoided in .c files Signed-off-by: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/core/rtw_ap.c')
-rw-r--r--drivers/staging/rtl8723au/core/rtw_ap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c
index 0086d5a2f92b..2b8b21653dea 100644
--- a/drivers/staging/rtl8723au/core/rtw_ap.c
+++ b/drivers/staging/rtl8723au/core/rtw_ap.c
@@ -21,10 +21,7 @@
#include <rtl8723a_cmd.h>
#include <rtl8723a_hal.h>
#include <asm/unaligned.h>
-
-extern unsigned char WMM_OUI23A[];
-extern unsigned char WPS_OUI23A[];
-extern unsigned char P2P_OUI23A[];
+#include <rtw_mlme_ext.h>
void init_mlme_ap_info23a(struct rtw_adapter *padapter)
{