projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mwl8k: missing endian conversion when printing firmware command result
[GitHub/MotorolaMobilityLLC/kernel-slsi.git]
/
drivers
/
net
/
wireless
/
mwl8k.c
diff --git
a/drivers/net/wireless/mwl8k.c
b/drivers/net/wireless/mwl8k.c
index a4336f45f523b5c2c4a9d04bdec7e3e886d1b7a8..6e017db05b8c8fde80a568f9ca8fa6bba3aba098 100644
(file)
--- a/
drivers/net/wireless/mwl8k.c
+++ b/
drivers/net/wireless/mwl8k.c
@@
-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;