diff options
-rw-r--r-- | sys/dev/usb/if_ral.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_rum.c | 4 |
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)); |