summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_ral.c
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2006-08-24 19:32:21 +0000
committerdamien <damien@openbsd.org>2006-08-24 19:32:21 +0000
commit03aad8b8e26b3e077757ac7242c1ec6adac264fd (patch)
tree933142ce82615fc7954ef70c6fecbc738c79a9f1 /sys/dev/usb/if_ral.c
parentdont print debug output when the scsi completion path returns with (diff)
downloadwireguard-openbsd-03aad8b8e26b3e077757ac7242c1ec6adac264fd.tar.xz
wireguard-openbsd-03aad8b8e26b3e077757ac7242c1ec6adac264fd.zip
s/IEEE80211_MTU_MAX/IEEE80211_MAX_LEN/ in my previous commit.
Diffstat (limited to 'sys/dev/usb/if_ral.c')
-rw-r--r--sys/dev/usb/if_ral.c4
1 files changed, 2 insertions, 2 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));