summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
committerRoman Yeryomin <roman@advem.lv>2013-02-06 02:59:31 +0200
commit691cc9529efe8ea7abaab170c452ae4470bf3ac2 (patch)
tree8d18d131720975fc63c8c2abc7bd933efe503e5f /target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
parent62da0fe6152d0025e570ca41a6f9ae68df7da89b (diff)
Rebase files to rsdk 3.2 and refresh patches. Compilable (not by humans).
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/009-hostapd-support.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/009-hostapd-support.patch31
1 files changed, 20 insertions, 11 deletions
diff --git a/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch b/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
index aaa89c9cd..de85e7f29 100644
--- a/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
+++ b/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch
@@ -1,8 +1,16 @@
-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 @@
+commit a824c8afe0a79e248056e7160a3c590d8eaaae54
+Author: Roman Yeryomin <roman@advem.lv>
+Date: Tue Feb 5 02:10:00 2013 +0200
+
+ adopt 009-hostapd-support.patch
+
+ Signed-off-by: Roman Yeryomin <roman@advem.lv>
+
+diff --git a/drivers/net/wireless/rtl8192cd/8192cd_cfg.h b/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
+index ae02e5a..e2596f2 100644
+--- a/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
++++ b/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
+@@ -357,7 +357,7 @@
// WPA Supplicant
//-------------------------------------------------------------
@@ -11,20 +19,21 @@ Index: linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
#ifdef WIFI_WPAS
-@@ -515,9 +515,9 @@
+@@ -525,9 +525,10 @@
//-------------------------------------------------------------
// Hostapd
//-------------------------------------------------------------
-//#ifdef CONFIG_RTL_HOSTAPD_SUPPORT
-//#define WIFI_HAPD
-//#endif
-+#ifdef CONFIG_RTL_HOSTAPD_SUPPORT
++#ifdef CONFIG_RTL_HOSTAPD_SUPPORT
+#define WIFI_HAPD
+#endif
-
- #ifdef WIFI_HAPD
-
-@@ -1719,3 +1719,7 @@
++
+ #ifdef CONFIG_RTL_P2P_SUPPORT
+ #define P2P_SUPPORT // support for WIFI_Direct
+ //#define P2P_DEBUGMSG
+@@ -1836,3 +1837,7 @@
#endif // _8192CD_CFG_H_