Skip to content

Commit

Permalink
[python] Drop superfluous code in ChipDeviceController bindings (proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Jul 5, 2022
1 parent 0d1cab4 commit 0144872
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/controller/python/ChipDeviceController-ScriptBinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,6 @@ ChipError::StorageType pychip_DeviceController_SetWiFiCredentials(const char * s

sCommissioningParameters.SetWiFiCredentials(
chip::Controller::WiFiCredentials(ByteSpan(sSsidBuf.Get(), ssidSize), ByteSpan(sCredsBuf.Get(), credsSize)));
char tmp[128];
chip::Platform::CopyString(tmp, sCommissioningParameters.GetWiFiCredentials().Value().ssid);
return CHIP_NO_ERROR.AsInteger();
}

Expand Down

0 comments on commit 0144872

Please sign in to comment.