diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-08-24 15:42:56 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 20:40:42 +0200 |
commit | 76c962a204f8d36b762440aa941fcea3d44e2fd2 (patch) | |
tree | 0855f2124d876f64a19066c07564b85e7dfe846c /drivers/net/wireless | |
parent | mwl8k: fix pci dma mapping leak in mwl8k_post_cmd() error path (diff) | |
download | linux-76c962a204f8d36b762440aa941fcea3d44e2fd2.tar.xz linux-76c962a204f8d36b762440aa941fcea3d44e2fd2.zip |
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/net/wireless')
-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; |