blob: a96475e376272ed9d124f4a2e3e22865db4c9e23 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package wifi
import (
func init() {
Func: IwlwifiPCIRescan,
Desc: "Verifies that the WiFi interface will recover if removed when the device has iwlwifi_rescan",
Contacts: []string{
"", // Test author
"", // WiFi oncall rotation; or http://b/new?component=893827
SoftwareDeps: []string{"iwlwifi_rescan"},
// For now, we prefer the remote version. Disable and keep the test to reproduce issue locally.
func IwlwifiPCIRescan(ctx context.Context, s *testing.State) {
if err := iwlwifirescan.RemoveIfaceAndWaitForRecovery(ctx); err != nil {
s.Fatal("Test failed with reason: ", err)