summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-08-24 19:32:22 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-08-24 19:32:22 +0000
commit16b26c894f2726fc5bedc707a3404879b7fb6c9c (patch)
tree101a6af63f367a907fb3ca97688123bb29399718 /sys/dev/usb
parent0c62d8b85dfc1667a4cb259d439ba6e9224daca4 (diff)
s/IEEE80211_MTU_MAX/IEEE80211_MAX_LEN/ in my previous commit.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_ral.c4
-rw-r--r--sys/dev/usb/if_rum.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c
index 8c8eea11bfb..0d0cc0e5ef9 100644
--- a/sys/dev/usb/if_ral.c
+++ b/sys/dev/usb/if_ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral.c,v 1.78 2006/08/23 21:37:04 niallo Exp $ */
+/* $OpenBSD: if_ral.c,v 1.79 2006/08/24 19:32:21 damien Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -450,7 +450,7 @@ ural_alloc_tx_list(struct ural_softc *sc)
}
data->buf = usbd_alloc_buffer(data->xfer,
- RAL_TX_DESC_SIZE + IEEE80211_MTU_MAX);
+ RAL_TX_DESC_SIZE + IEEE80211_MAX_LEN);
if (data->buf == NULL) {
printf("%s: could not allocate tx buffer\n",
USBDEVNAME(sc->sc_dev));
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index bb9aa48cbec..eb224795927 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rum.c,v 1.38 2006/08/23 21:37:04 niallo Exp $ */
+/* $OpenBSD: if_rum.c,v 1.39 2006/08/24 19:32:21 damien Exp $ */
/*-
* Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -489,7 +489,7 @@ rum_alloc_tx_list(struct rum_softc *sc)
}
data->buf = usbd_alloc_buffer(data->xfer,
- RT2573_TX_DESC_SIZE + IEEE80211_MTU_MAX);
+ RT2573_TX_DESC_SIZE + IEEE80211_MAX_LEN);
if (data->buf == NULL) {
printf("%s: could not allocate tx buffer\n",
USBDEVNAME(sc->sc_dev));