Commit 4958730e authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

ipw2200: ipw_tx_skb() endianness bug

We'd just set tfd->[i] to cpu_to_le16(remaining_bytes);
passing it to pci_map_single() is a bad idea - it expects host-endian.
Signed-off-by: default avatarAl Viro <>
Signed-off-by: default avatarJohn W. Linville <>
parent 472caf8c
......@@ -10341,7 +10341,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb,
tfd->[i] =
(priv->pci_dev, skb->data,
tfd-> =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment