summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
blob: aaa89c9cd3a1940b601c0f9687101e5e78e96200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
===================================================================
--- linux-2.6.30.9.orig/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
+++ linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
@@ -360,7 +360,7 @@
 // WPA Supplicant 
 //-------------------------------------------------------------
 
-//#define WIFI_WPAS
+#define WIFI_WPAS
 
 #ifdef WIFI_WPAS
 
@@ -515,9 +515,9 @@
 //-------------------------------------------------------------
 // Hostapd 
 //-------------------------------------------------------------
-//#ifdef CONFIG_RTL_HOSTAPD_SUPPORT 
-//#define WIFI_HAPD
-//#endif
+#ifdef CONFIG_RTL_HOSTAPD_SUPPORT 
+#define WIFI_HAPD
+#endif
 
 #ifdef WIFI_HAPD
 
@@ -1719,3 +1719,7 @@
 
 #endif // _8192CD_CFG_H_
 
+#ifndef WIFI_HAPD
+#error hapd not-set
+#endif
+