提交 89db3b97 编写于 作者: W Wey-Yi Guy 提交者: John W. Linville

iwlwifi: set "echo" host command length

"echo" host command has no data, set the length to 0
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 023ca58f
...@@ -1434,6 +1434,7 @@ int iwl_cmd_echo_test(struct iwl_priv *priv) ...@@ -1434,6 +1434,7 @@ int iwl_cmd_echo_test(struct iwl_priv *priv)
int ret; int ret;
struct iwl_host_cmd cmd = { struct iwl_host_cmd cmd = {
.id = REPLY_ECHO, .id = REPLY_ECHO,
.len = { 0 },
.flags = CMD_SYNC, .flags = CMD_SYNC,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册