]> git.pld-linux.org Git - packages/rtl8812au.git/commitdiff
- disable debug noise
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Sep 2014 21:09:07 +0000 (23:09 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Sep 2014 21:09:07 +0000 (23:09 +0200)
- rel 2

disable-debug.patch [new file with mode: 0644]
rtl8812au.spec

diff --git a/disable-debug.patch b/disable-debug.patch
new file mode 100644 (file)
index 0000000..f0d1851
--- /dev/null
@@ -0,0 +1,22 @@
+diff --git a/include/autoconf.h b/include/autoconf.h
+index 6f579b3..61b6c74 100644
+--- a/include/autoconf.h
++++ b/include/autoconf.h
+@@ -364,14 +364,14 @@
+ /*
+  * Debug Related Config
+  */
+-#define DBG   1
++#define DBG   0
+-#define CONFIG_DEBUG /* DBG_871X, etc... */
++//#define CONFIG_DEBUG /* DBG_871X, etc... */
+ //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
+ #define CONFIG_PROC_DEBUG
+-#define DBG_CONFIG_ERROR_DETECT
++//#define DBG_CONFIG_ERROR_DETECT
+ //#define DBG_CONFIG_ERROR_DETECT_INT
+ //#define DBG_CONFIG_ERROR_RESET
index 6ce79a876d8cd0c1d7d454baae653503efbb37b8..de80ba8a3dac52fb37406183751d7973bc886753 100644 (file)
@@ -19,7 +19,7 @@ exit 1
 %define                kpkg    %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%kernel_pkg ; done)
 %define                bkpkg   %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%build_kernel_pkg ; done)
 
-%define                rel     1
+%define                rel     2
 %define                snap    20140901
 %define                pname   rtl8812au
 Summary:       Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
@@ -35,6 +35,7 @@ Source0:      https://github.com/austinmarton/rtl8812au_linux/archive/master/%{name}-
 #URL:          http://www.realtek.com.tw/
 URL:           https://github.com/austinmarton/rtl8812au_linux
 Patch0:                linux-3.11.patch
+Patch1:                disable-debug.patch
 BuildRequires: rpmbuild(macros) >= 1.678
 %{?with_dist_kernel:%{expand:%kbrs}}
 BuildRoot:     %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
This page took 0.124183 seconds and 4 git commands to generate.