summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-07-02 11:53:04 +0300
committerRoman Yeryomin <romans.jerjomins@saftehnika.com>2013-07-02 11:53:04 +0300
commit2120e5822ef44c4ff9b69e119768f10413849281 (patch)
treef3ca7883b08dfa868bd69fec3dcd064a48b2f83a
parent14bb0fc3ab784df09fa54182334a364a32fbc299 (diff)
Make realtek 8192cd net80211 code debuggable
Signed-off-by: Roman Yeryomin <romans.jerjomins@saftehnika.com>
-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>