diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-08-24 17:42:56 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 22:40:42 +0400 |
commit | 76c962a204f8d36b762440aa941fcea3d44e2fd2 (patch) | |
tree | 0855f2124d876f64a19066c07564b85e7dfe846c | |
parent | 39a1e42eb4d0a2bc3f1211e9012bd23734ab86db (diff) | |
download | linux-76c962a204f8d36b762440aa941fcea3d44e2fd2.tar.xz |
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>
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index a4336f45f523..6e017db05b8c 100644 --- 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; |