udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem
authorDaniel T Chen <crimsun@ubuntu.com>
Tue, 5 Jan 2010 02:53:36 +0000 (21:53 -0500)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Jan 2010 19:00:22 +0000 (20:00 +0100)
commitd3c71c92ceef143b60a211f4c9b340f5f7beb245
treefcc53498467175089114b4ee566008540751aec9
parentc5fdbeab85dfe69ebaec92969ec2ce77b105f1df
udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem

The fact whether an ALSA card is a modem is stored in the SOUND_CLASS,
not the SOUND_FORM_FACTOR property. So read it from there.

Patch from Whoopie.
src/modules/module-udev-detect.c