summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff')
-rw-r--r--target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff b/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff
index 0f5209d49..262b64319 100644
--- a/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff
+++ b/target/linux/realtek/patches-2.6.30/004-rtl8192cd-fixes.diff
@@ -35,3 +35,36 @@
/*-----------------------------------------------------------------------------
8192cd_net80211.c
+--- a/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
++++ b/drivers/net/wireless/rtl8192cd/8192cd_cfg.h
+@@ -357,7 +357,7 @@
+ //-------------------------------------------------------------
+ // WPA Supplicant
+ //-------------------------------------------------------------
+-//#define WIFI_WPAS
++#define WIFI_WPAS
+
+ #ifdef WIFI_WPAS
+ #ifndef WIFI_HAPD
+@@ -525,9 +525,10 @@
+ //-------------------------------------------------------------
+ // Hostapd
+ //-------------------------------------------------------------
+-//#ifdef CONFIG_RTL_HOSTAPD_SUPPORT
+-//#define WIFI_HAPD
+-//#endif
++#ifdef CONFIG_RTL_HOSTAPD_SUPPORT
++#define WIFI_HAPD
++#endif
++
+ #ifdef CONFIG_RTL_P2P_SUPPORT
+ #define P2P_SUPPORT // support for WIFI_Direct
+ //#define P2P_DEBUGMSG
+@@ -1836,3 +1837,7 @@
+
+ #endif // _8192CD_CFG_H_
+
++#ifndef WIFI_HAPD
++#error hapd not-set
++#endif
++