Commit 63f77926 authored by Ron Mercer's avatar Ron Mercer Committed by Jeff Garzik

qla3xxx: bugfix for line omitted in previous patch.

This missing line caused transmit errors on the Qlogic 4032 chip.
Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent e0e20a1a
...@@ -2210,7 +2210,7 @@ static int ql_send_map(struct ql3_adapter *qdev, ...@@ -2210,7 +2210,7 @@ static int ql_send_map(struct ql3_adapter *qdev,
{ {
struct oal *oal; struct oal *oal;
struct oal_entry *oal_entry; struct oal_entry *oal_entry;
int len = skb->len; int len = skb_headlen(skb);
dma_addr_t map; dma_addr_t map;
int err; int err;
int completed_segs, i; int completed_segs, i;
......
Markdown is supported
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