Code: Select all
--- a/usb-modeswitch-2.6.0/usb_modeswitch_dispatcher.tcl 2020-12-22 15:46:49.839135261 +0000
+++ b/usb-modeswitch-2.6.0/usb_modeswitch_dispatcher.tcl 2020-12-22 15:43:09.909054160 +0000
@@ -841,7 +841,7 @@
}
if [string length $config(TargetClass)] {
if {![regexp -nocase $usb($ifdir/bInterfaceClass) $config(TargetClass)]} {
- if {$config(class) != $usb($ifdir/bInterfaceClass} {
+ if {$config(class) != $usb($ifdir/bInterfaceClass)} {
set expected 0
} else {continue}
}