iwlwifi: set "echo" host command length

"echo" host command has no data, set the length to 0

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Wey-Yi Guy 2011-11-10 06:55:18 -08:00 committed by John W. Linville
parent 023ca58f1d
commit 89db3b972c

View file

@ -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,
};