diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2010-03-07 14:43:07 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2010-03-07 14:43:07 +0000 |
commit | 87e1b035a56313d17a04c0b2d767f4aff5ea106f (patch) | |
tree | f60f97c64f4c11ca8fcdb663bdf68f540d5549d8 /sys | |
parent | 73dc84b034f0dd08539bb16f80eea4def6d98c32 (diff) |
We're only sending one packet at a time, so garbage collect sc_lim_pktcnt
that shows how many packets the device will accept in one transfer.
ok armani fabien
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_urndis.c | 3 | ||||
-rw-r--r-- | sys/dev/usb/if_urndisreg.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c index 1653b052518..6dc16fb5c09 100644 --- a/sys/dev/usb/if_urndis.c +++ b/sys/dev/usb/if_urndis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urndis.c,v 1.10 2010/03/06 15:43:31 armani Exp $ */ +/* $OpenBSD: if_urndis.c,v 1.11 2010/03/07 14:43:06 mk Exp $ */ /* * Copyright (c) 2010 Jonathan Armani <dbd@asystant.net> @@ -289,7 +289,6 @@ urndis_ctrl_handle_init(struct urndis_softc *sc, const struct urndis_comp_hdr *h return RNDIS_STATUS_FAILURE; } - sc->sc_lim_pktcnt = letoh32(msg->rm_pktmaxcnt); sc->sc_lim_pktsz = letoh32(msg->rm_pktmaxsz); sc->sc_pktalign = letoh32(msg->rm_align); diff --git a/sys/dev/usb/if_urndisreg.h b/sys/dev/usb/if_urndisreg.h index 35d48dcfc83..b5cfb49251f 100644 --- a/sys/dev/usb/if_urndisreg.h +++ b/sys/dev/usb/if_urndisreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urndisreg.h,v 1.9 2010/03/07 08:58:55 mk Exp $ */ +/* $OpenBSD: if_urndisreg.h,v 1.10 2010/03/07 14:43:06 mk Exp $ */ /* * Copyright (c) 2010 Jonathan Armani <dbd@asystant.net> @@ -46,7 +46,6 @@ struct urndis_softc { struct arpcom sc_arpcom; /* RNDIS device info */ - u_int32_t sc_lim_pktcnt; u_int32_t sc_lim_pktsz; u_int32_t sc_pktalign; u_int32_t sc_filter; |