Quiet default logging

This commit is contained in:
kimocoder 2019-09-19 13:27:40 +00:00
parent a5043d715b
commit dcad331843

View File

@ -118,13 +118,9 @@ module_param(rtw_dynamic_agg_enable, int, 0644);
* please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
*/
#ifdef CONFIG_RTW_DEBUG
#ifdef RTW_LOG_LEVEL
uint rtw_drv_log_level = (uint)RTW_LOG_LEVEL; /* from Makefile */
#else
uint rtw_drv_log_level = _DRV_INFO_;
#endif
uint rtw_drv_log_level = _DRV_NONE_;
module_param(rtw_drv_log_level, uint, 0644);
MODULE_PARM_DESC(rtw_drv_log_level, "set log level when insert driver module, default log level is _DRV_INFO_ = 4");
MODULE_PARM_DESC(rtw_drv_log_level, "set log level when insert driver module, default log level is _DRV_NONE_ = 0");
#endif
int rtw_radio_enable = 1;
int rtw_long_retry_lmt = 7;