From: Lennart Poettering Date: Sat, 11 Aug 2007 16:07:38 +0000 (+0000) Subject: fix module-hal when no api= argument is specified X-Git-Tag: 1.0_branch~2762^2~1^2~332 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=107b23d202ca62eb5d510438799702bdfe1ef54e;p=profile%2Fivi%2Fpulseaudio.git fix module-hal when no api= argument is specified git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1636 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c index e95e97f..f00a60d 100644 --- a/src/modules/module-hal-detect.c +++ b/src/modules/module-hal-detect.c @@ -360,6 +360,7 @@ static int hal_device_add_all(struct userdata *u, const char *capability) { } if (n > 0) { + u->capability = capability; for (i = 0; i < n; i++) { struct device *d;