diff options
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_iwi.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index 7f0dbec6c59..6222a590273 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $Id: if_ipw.c,v 1.35 2004/12/06 20:27:15 damien Exp $ */ +/* $Id: if_ipw.c,v 1.36 2004/12/10 21:25:52 damien Exp $ */ /*- * Copyright (c) 2004 @@ -1234,7 +1234,7 @@ ipw_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, sbuf->map, m, 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, |