Skip to content

Commit

Permalink
iwlwifi: set "echo" host command length
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Nov 11, 2011
1 parent 023ca58 commit 89db3b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 89db3b9

Please sign in to comment.