summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-02-02 07:30:02 +0000
committerSam Leffler <sam@FreeBSD.org>2008-02-02 07:30:02 +0000
commit355dc2b707f19d9aaf1286f99f6c5aa6626ba84c (patch)
treeb7d2cbeeeb284aa0eb57a30615cb864e4c4138ef
parentdef6dd1073b8b73c450e84d4893ab689617443d8 (diff)
Notes
-rw-r--r--sys/dev/wpi/if_wpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index 98c5b9262495..7a85efced87d 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -1041,7 +1041,7 @@ wpi_alloc_rx_ring(struct wpi_softc *sc, struct wpi_rx_ring *ring)
for (i = 0; i < WPI_RX_RING_COUNT; i++) {
data = &ring->data[i];
- data->m = m_get(M_DONTWAIT, MT_HEADER);
+ data->m = m_gethdr(M_DONTWAIT, MT_DATA);
if (data->m == NULL) {
device_printf(sc->sc_dev,
"could not allocate rx mbuf\n");