diff --git a/implcaps/generic/device_workarounds/impl.go b/implcaps/generic/device_workarounds/impl.go index f7299f7..90f9770 100644 --- a/implcaps/generic/device_workarounds/impl.go +++ b/implcaps/generic/device_workarounds/impl.go @@ -46,9 +46,7 @@ func (i *Implementation) Load(ctx context.Context) (bool, error) { i.m.Lock() defer i.m.Unlock() - i.workaroundsEnabled = i.s.Section("Workarounds").SectionKeys() - - for _, workaround := range i.workaroundsEnabled { + for _, workaround := range i.s.Section("Workarounds").SectionKeys() { if err := i.loadWorkaround(ctx, workaround); err != nil { return false, err } else {