Skip to content

Commit e0dd983

Browse files
committed
Restlyed
1 parent 9860bc5 commit e0dd983

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/app/clusters/network-commissioning/network-commissioning.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,6 @@ void Instance::HandleAddOrUpdateWiFiNetwork(HandlerContext & ctx, const Commands
623623
#endif
624624
}
625625

626-
627626
#if CHIP_DEVICE_CONFIG_ENABLE_WIFI_PDC
628627
void Instance::HandleAddOrUpdateWiFiNetworkWithPDC(HandlerContext & ctx,
629628
const Commands::AddOrUpdateWiFiNetwork::DecodableType & req)
@@ -754,7 +753,6 @@ void Instance::HandleAddOrUpdateThreadNetwork(HandlerContext & ctx, const Comman
754753
#endif
755754
}
756755

757-
758756
void Instance::UpdateBreadcrumb(const Optional<uint64_t> & breadcrumb)
759757
{
760758
VerifyOrReturn(breadcrumb.HasValue());
@@ -1184,7 +1182,6 @@ void Instance::OnFinished(Status status, CharSpan debugText, WiFiScanResponseIte
11841182
#endif
11851183
}
11861184

1187-
11881185
void Instance::OnPlatformEventHandler(const DeviceLayer::ChipDeviceEvent * event, intptr_t arg)
11891186
{
11901187
Instance * this_ = reinterpret_cast<Instance *>(arg);

src/app/clusters/network-commissioning/network-commissioning.h

-4
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,9 @@ class Instance : public CommandHandlerInterface,
120120

121121
// Actual handlers of the commands
122122
void HandleScanNetworks(HandlerContext & ctx, const Commands::ScanNetworks::DecodableType & req);
123-
124123
void HandleAddOrUpdateWiFiNetwork(HandlerContext & ctx, const Commands::AddOrUpdateWiFiNetwork::DecodableType & req);
125-
126124
void HandleAddOrUpdateWiFiNetworkWithPDC(HandlerContext & ctx, const Commands::AddOrUpdateWiFiNetwork::DecodableType & req);
127-
128125
void HandleAddOrUpdateThreadNetwork(HandlerContext & ctx, const Commands::AddOrUpdateThreadNetwork::DecodableType & req);
129-
130126
void HandleRemoveNetwork(HandlerContext & ctx, const Commands::RemoveNetwork::DecodableType & req);
131127
void HandleConnectNetwork(HandlerContext & ctx, const Commands::ConnectNetwork::DecodableType & req);
132128
void HandleReorderNetwork(HandlerContext & ctx, const Commands::ReorderNetwork::DecodableType & req);

src/include/platform/NetworkCommissioning.h

+2
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ class WiFiDriver : public Internal::WirelessDriver
265265
* message.)
266266
*/
267267
virtual void OnFinished(Status status, CharSpan debugText, WiFiScanResponseIterator * networks) = 0;
268+
268269
virtual ~ScanCallback() = default;
269270
};
270271

@@ -398,6 +399,7 @@ class ThreadDriver : public Internal::WirelessDriver
398399
* message.)
399400
*/
400401
virtual void OnFinished(Status err, CharSpan debugText, ThreadScanResponseIterator * networks) = 0;
402+
401403
virtual ~ScanCallback() = default;
402404
};
403405

0 commit comments

Comments
 (0)