Commit 89db3b97 authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville

iwlwifi: set "echo" host command length

"echo" host command has no data, set the length to 0
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment