ath10k_core模块cryptmode参数配置报错问题咨询
ath10k_core模块cryptmode参数配置报错问题咨询
嘿,我一眼就揪出问题所在啦!你在配置文件里的参数格式写错啦~
你当前的配置内容是:
options ath10k_core cryptmode = 1-software
这里的核心问题是等号两边的空格!modprobe的参数配置规则里,参数和对应的值之间要么用无空格的等号连接,要么干脆不用等号、直接用空格分隔——但绝对不能在等号两边加空格。
你现在的写法会让系统把=和1-software当成两个独立的未知参数,所以才会在dmesg里看到这些报错:
[ 13.956647] ath10k_core: ' invalid for parameter cryptmode'
[ 13.956657] ath10k_core: unknown parameter '=' ignored
[ 13.956661] ath10k_core: unknown parameter '1-software' ignored
你只需要把配置改成下面两种正确格式之一就行了:
- 用无空格的等号连接:
options ath10k_core cryptmode=1-software
- 直接用空格分隔参数和值(不用等号):
options ath10k_core cryptmode 1-software
修改完配置文件后,你可以重新加载模块验证效果:
sudo modprobe -r ath10k_core && sudo modprobe ath10k_core
之后再用sudo dmesg | grep ath10k检查,应该就不会再出现参数错误的提示啦~
备注:内容来源于stack exchange,提问作者J. Mini
相关产品推荐
相关产品推荐

