From 187c39fd03b419dc4e4d7ea45ade930e5f97e9d4 Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 11 May 2006 19:09:25 +0000 Subject: in uaudio_process_as() initialise ai.aformat and ai.ifaceh. --- sys/dev/usb/uaudio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c index 4f870a07eec..ef91716bed9 100644 --- a/sys/dev/usb/uaudio.c +++ b/sys/dev/usb/uaudio.c @@ -1,4 +1,4 @@ -/* $NetBSD: uaudio.c,v 1.102 2006/04/14 17:00:55 christos Exp $ */ +/* $NetBSD: uaudio.c,v 1.103 2006/05/11 19:09:25 mrg Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.102 2006/04/14 17:00:55 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.103 2006/05/11 19:09:25 mrg Exp $"); #include #include @@ -1706,6 +1706,8 @@ uaudio_process_as(struct uaudio_softc *sc, const char *tbuf, int *offsp, ai.edesc1 = epdesc1; ai.asf1desc = asf1d; ai.sc_busy = 0; + ai.aformat = NULL; + ai.ifaceh = NULL; uaudio_add_alt(sc, &ai); #ifdef UAUDIO_DEBUG if (ai.attributes & UA_SED_FREQ_CONTROL) -- cgit