summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-12-10 21:25:54 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-12-10 21:25:54 +0000
commit12c009627283dd670ebdb223b04a23b49fb2e1b0 (patch)
tree6676ccd81b2426c5ee6ad79f8cbae34d8668248c /sys/dev/pci/if_iwi.c
parent378eb184da59f2ca3c72de8c7a7e041e415f3af9 (diff)
fix mbuf defragmentation
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r--sys/dev/pci/if_iwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index c16666b40f7..7b62b3fdec5 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $Id: if_iwi.c,v 1.20 2004/12/06 20:27:15 damien Exp $ */
+/* $Id: if_iwi.c,v 1.21 2004/12/10 21:25:53 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -1081,7 +1081,7 @@ iwi_tx_start(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni)
m_copydata(m, 0, m->m_pkthdr.len, mtod(mnew, caddr_t));
m_freem(m);
- m->m_len = m->m_pkthdr.len;
+ mnew->m_len = mnew->m_pkthdr.len;
m = mnew;
error = bus_dmamap_load_mbuf(sc->sc_dmat, buf->map, m,