mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
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
@ -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…
x
Reference in New Issue
Block a user