diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-11-10 06:55:18 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-11 12:32:55 -0500 |
commit | 89db3b972c997d910b648497345fb0410ad04aec (patch) | |
tree | 1233273853307d0034ae2e4d75afd64d0c0e8169 /drivers | |
parent | 023ca58f1d025d9c210f8003ca47d6b96cdac167 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index f7b00481a9f..f9e9170e977 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -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, }; |