USUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODEL

Matches the header file change, and makes this compile.
This commit is contained in:
Eivind Eklund 1999-01-08 17:25:37 +00:00
parent 68ba369606
commit 95ddc5daa5

View File

@ -1,5 +1,5 @@
/* $NetBSD: ucom.c,v 1.4 1998/12/30 17:46:20 augustss Exp $ */
/* FreeBSD $Id$ */
/* FreeBSD $Id: ucom.c,v 1.5 1999/01/07 23:31:31 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -99,7 +99,7 @@ USB_MATCH(ucom)
id = usbd_get_interface_descriptor(uaa->iface);
if (id &&
id->bInterfaceClass != UCLASS_CDC ||
id->bInterfaceSubClass != USUBCLASS_MODEM)
id->bInterfaceSubClass != USUBCLASS_ABSTRACT_CONTROL_MODEL)
return (UMATCH_NONE);
return (UMATCH_IFACECLASS_IFACESUBCLASS);
}