diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-08-24 09:42:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:42 -0400 |
commit | 76c962a204f8d36b762440aa941fcea3d44e2fd2 (patch) | |
tree | 0855f2124d876f64a19066c07564b85e7dfe846c /drivers | |
parent | 39a1e42eb4d0a2bc3f1211e9012bd23734ab86db (diff) |
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>
Diffstat (limited to 'drivers')
-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) | |||
1474 | printk(KERN_ERR "%s: Command %s error 0x%x\n", | 1474 | printk(KERN_ERR "%s: Command %s error 0x%x\n", |
1475 | priv->name, | 1475 | priv->name, |
1476 | mwl8k_cmd_name(cmd->code, buf, sizeof(buf)), | 1476 | mwl8k_cmd_name(cmd->code, buf, sizeof(buf)), |
1477 | cmd->result); | 1477 | le16_to_cpu(cmd->result)); |
1478 | } | 1478 | } |
1479 | 1479 | ||
1480 | return rc; | 1480 | return rc; |