|
发表于 2020-1-16 16:39:49
只看该作者
沙发
本帖最后由 firefly_zhongw 于 2020-1-17 10:06 编辑
rtl8188eu打印信息:
方式一: 连上wifi成功后,就不会出现以上wifi相关的打印信息
方式二:echo 0 > /sys/module/8188eu/parameters/rtw_drv_log_level
方式三:修改驱动源码把rtw_drv_log_level的默认值改0- diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
- index d3a60ea..1a2519b 100644
- --- a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
- +++ b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/Makefile
- @@ -77,7 +77,7 @@ CONFIG_RTW_GRO = y
- CONFIG_RTW_DEBUG = y
- # default log level is _DRV_INFO_ = 4,
- # please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
- -CONFIG_RTW_LOG_LEVEL = 2
- +CONFIG_RTW_LOG_LEVEL = 0
- ######################## Wake On Lan ##########################
- CONFIG_WOWLAN = y
- CONFIG_GPIO_WAKEUP = y
- diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
- index 9188ad9..e63d6be 100644
- --- a/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
- +++ b/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/rtl8188e_hal_init.c
- @@ -422,7 +422,7 @@ static s32 iol_read_efuse(
- s32 rtl8188e_iol_efuse_patch(PADAPTER padapter)
- {
- s32 result = _SUCCESS;
- - printk("==> %s\n", __FUNCTION__);
- + RTW_PRINT("==> %s\n", __FUNCTION__);
-
- if (rtw_IOL_applied(padapter)) {
- iol_mode_enable(padapter, 1);
复制代码
|
|