提交 63f77926 编写于 作者: R Ron Mercer 提交者: Jeff Garzik

qla3xxx: bugfix for line omitted in previous patch.

This missing line caused transmit errors on the Qlogic 4032 chip.
Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册