-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest turning off the debugging log by default #49
Comments
+1 There is so much output on dmesg that it makes it hard to monitor other parts of the system. Suggest to add a compile flag to the Makefile to easily turn debugging on/off. @meoow could you create a PR with your patch? |
gnab
added a commit
that referenced
this issue
Aug 7, 2015
Applied the patch. Please supply PR with compile flag if wanted. |
+1 |
There are still lots of log like:
To close this log: diff --git a/core/rtw_pwrctrl.c b/core/rtw_pwrctrl.c
index ab995d6..89ebf85 100644
--- a/core/rtw_pwrctrl.c
+++ b/core/rtw_pwrctrl.c
@@ -46,7 +46,7 @@ void ips_enter(_adapter * padapter)
if(rf_off == pwrpriv->change_rfpwrstate )
{
pwrpriv->bpower_saving = _TRUE;
- DBG_871X_LEVEL(_drv_always_, "nolinked power save enter\n");
+ DBG_871X_LEVEL(_drv_debug_, "nolinked power save enter\n");
if(pwrpriv->ips_mode == IPS_LEVEL_2)
pwrpriv->bkeepfwalive = _TRUE;
@@ -81,7 +81,7 @@ int ips_leave(_adapter * padapter)
if ((result = rtw_ips_pwr_up(padapter)) == _SUCCESS) {
pwrpriv->rf_pwrstate = rf_on;
}
- DBG_871X_LEVEL(_drv_always_, "nolinked power save leave\n");
+ DBG_871X_LEVEL(_drv_debug_, "nolinked power save leave\n");
if((_WEP40_ == psecuritypriv->dot11PrivacyAlgrthm) ||(_WEP104_ == psecuritypriv->dot11PrivacyAlgrthm))
{
|
is there a way, to tun debugging off on runtime or module loading? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Otherwise there will be massive amount of logs of the driver put into dmesg, it impacts the performance quite a lot.
Here is the patch:
The text was updated successfully, but these errors were encountered: