summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-12-22 18:20:48 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-12-22 18:20:48 +0000
commitd8f332fe7fbe267f247739c03d031eea2627bd49 (patch)
treebb8c101692b434dfbb30dd65b4e96b2b833c0f30 /sys/dev/pci/if_iwi.c
parent89d7d31a1faa8d3884bd84ea40f859e199e767e4 (diff)
I swapped MGETHDR arguments in my m_defrag removal commit.
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 c6d9986a66a..145ccaceb9d 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.97 2008/12/21 18:19:58 damien Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.98 2008/12/22 18:20:47 damien Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -1300,7 +1300,7 @@ iwi_tx_start(struct ifnet *ifp, struct mbuf *m0, struct ieee80211_node *ni)
}
if (error != 0) {
/* too many fragments, linearize */
- MGETHDR(m1, MT_DATA, M_DONTWAIT);
+ MGETHDR(m1, M_DONTWAIT, MT_DATA);
if (m1 == NULL) {
m_freem(m0);
return ENOBUFS;