From 6191dbb8e6d985ea72bc2774fe30d8e55281809a Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Mon, 26 Feb 2007 19:24:28 +0000 Subject: Fix typo, allowing this to compile again. Committed over cdcef0 ok millert --- sys/dev/usb/if_cdcef.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/if_cdcef.c b/sys/dev/usb/if_cdcef.c index 9a507509286..846e5ee7625 100644 --- a/sys/dev/usb/if_cdcef.c +++ b/sys/dev/usb/if_cdcef.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdcef.c,v 1.10 2007/02/26 15:41:28 drahn Exp $ */ +/* $OpenBSD: if_cdcef.c,v 1.11 2007/02/26 19:24:27 ckuethe Exp $ */ /* * Copyright (c) 2007 Dale Rahn @@ -291,7 +291,7 @@ cdcef_start(struct ifnet *ifp) return; } - if (sc->sc_listening == 0 || m_head->mpkthdr.len > CDCEF_BUFSZ) { + if (sc->sc_listening == 0 || m_head->m_pkthdr.len > CDCEF_BUFSZ) { /* * drop packet because reciever is not listening, * or if packet is larger than xmit buffer -- cgit v1.2.3