Kernel: Don't initialize USB alternate interfaces
This commit is contained in:
parent
6768a18475
commit
6a5367dbe3
|
@ -146,6 +146,10 @@ namespace Kernel
|
|||
|
||||
for (const auto& interface : configuration.interfaces)
|
||||
{
|
||||
// FIXME: support alternate settings
|
||||
if (interface.descriptor.bAlternateSetting != 0)
|
||||
continue;
|
||||
|
||||
switch (static_cast<USB::InterfaceBaseClass>(interface.descriptor.bInterfaceClass))
|
||||
{
|
||||
case USB::InterfaceBaseClass::Audio:
|
||||
|
|
Loading…
Reference in New Issue