diff --git a/examples/chip-tool/commands/pairing/PairingCommand.cpp b/examples/chip-tool/commands/pairing/PairingCommand.cpp index e96897106c608d..21fc0cc3d033b9 100644 --- a/examples/chip-tool/commands/pairing/PairingCommand.cpp +++ b/examples/chip-tool/commands/pairing/PairingCommand.cpp @@ -170,11 +170,11 @@ CHIP_ERROR PairingCommand::SetupNetwork() switch (mNetworkType) { case PairingNetworkType::None: + case PairingNetworkType::Ethernet: // Nothing to do SetCommandExitStatus(err == CHIP_NO_ERROR); break; case PairingNetworkType::WiFi: - case PairingNetworkType::Ethernet: case PairingNetworkType::Thread: err = GetExecContext()->commissioner->GetDevice(mRemoteId, &mDevice); VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(chipTool, "Setup failure! No pairing for device: %" PRIu64, mRemoteId));