summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/realtek/patches-2.6.30/8192cd-make-net80211-debuggable.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/8192cd-make-net80211-debuggable.patch b/target/linux/realtek/patches-2.6.30/8192cd-make-net80211-debuggable.patch
new file mode 100644
index 000000000..872fb6ed1
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/8192cd-make-net80211-debuggable.patch
@@ -0,0 +1,31 @@
+--- linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_debug.h 2013-06-29 15:37:41.974461999 +0300
++++ linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_debug.h 2013-06-29 17:09:39.338236185 +0300
+@@ -64,6 +64,7 @@
+ _DM_ = 0x00100000,
+ _88E_HW_ = 0x00200000,
+ _DFS_ = 0x00400000,
++ _NET80211_ = 0x00800000,
+ _MESH_SME_ = 0x02000000,
+ _MESH_SECURITY_ = 0x04000000,
+ _MESH_TX_ = 0x08000000,
+@@ -77,6 +78,10 @@
+ #define _MODULE_DEFINE _OSDEP_
+ #define _MODULE_NAME "osdep"
+
++#elif defined(_8192CD_NET80211_C_)
++ #define _MODULE_DEFINE _NET80211_
++ #define _MODULE_NAME "net80211"
++
+ #elif defined(_8192CD_SME_C_)
+ #define _MODULE_DEFINE _SME_
+ #define _MODULE_NAME "sme"
+--- linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_net80211.c 2013-06-29 15:37:41.982461999 +0300
++++ linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_net80211.c 2013-06-29 17:00:44.566258072 +0300
+@@ -9,6 +9,7 @@
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
++#define _8192CD_NET80211_C_
+
+ #ifdef __KERNEL__
+ #include <linux/module.h>