mwl8k: missing endian conversion when printing firmware command result
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
39a1e42eb4
commit
76c962a204
1 changed files with 1 additions and 1 deletions
|
@ -1474,7 +1474,7 @@ static int mwl8k_post_cmd(struct ieee80211_hw *hw, struct mwl8k_cmd_pkt *cmd)
|
|||
printk(KERN_ERR "%s: Command %s error 0x%x\n",
|
||||
priv->name,
|
||||
mwl8k_cmd_name(cmd->code, buf, sizeof(buf)),
|
||||
cmd->result);
|
||||
le16_to_cpu(cmd->result));
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
|
Loading…
Add table
Reference in a new issue