ipw2200: ipw_tx_skb() endianness bug
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Dec 2007 06:57:47 +0000 (01:57 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:57 +0000 (15:08 -0800)
commit4958730e2b4e10d29aa80574a848308ed95f508f
tree8626307bc0df8dcd308eb06e35737ec36106150f
parent472caf8c8a534367be8954dacf7c9e0317bb7e89
ipw2200: ipw_tx_skb() endianness bug

We'd just set tfd->u.data.chunk_len[i] to cpu_to_le16(remaining_bytes);
passing it to pci_map_single() is a bad idea - it expects host-endian.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c