From 98682e5e2aefc9aad61354f4f3ac93be96002a2a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 8 Feb 2021 08:47:37 +0100 Subject: sys/linux: add ieee802154 descriptions --- pkg/repro/repro.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkg/repro') diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index aca892cb9..4433c84a9 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -204,6 +204,9 @@ func createStartOptions(cfg *mgrconfig.Config, features *host.Features, crashTyp if !features[host.FeatureWifiEmulation].Enabled { opts.Wifi = false } + if !features[host.Feature802154Emulation].Enabled { + opts.IEEE802154 = false + } } return opts } @@ -968,6 +971,13 @@ var cSimplifies = append(progSimplifies, []Simplify{ opts.Wifi = false return true }, + func(opts *csource.Options) bool { + if !opts.IEEE802154 { + return false + } + opts.IEEE802154 = false + return true + }, func(opts *csource.Options) bool { if !opts.UseTmpDir || opts.Sandbox == "namespace" || opts.Cgroups { return false -- cgit mrf-deployment