Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1434,6 +1434,7 @@ int iwl_cmd_echo_test(struct iwl_priv *priv)
	int ret;
	struct iwl_host_cmd cmd = {
		.id = REPLY_ECHO,
		.len = { 0 },
		.flags = CMD_SYNC,
	};