Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76c962a2 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by John W. Linville
Browse files

mwl8k: missing endian conversion when printing firmware command result

parent 39a1e42e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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",
			printk(KERN_ERR "%s: Command %s error 0x%x\n",
			       priv->name,
			       priv->name,
			       mwl8k_cmd_name(cmd->code, buf, sizeof(buf)),
			       mwl8k_cmd_name(cmd->code, buf, sizeof(buf)),
			       cmd->result);
			       le16_to_cpu(cmd->result));
	}
	}


	return rc;
	return rc;