IPv6 API cleanup.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent 669c792118
commit 98da7f3166
34 changed files with 513 additions and 545 deletions
+2 -2
View File
@@ -379,7 +379,7 @@ void MainPage::ConnectNetwork(Platform::Guid InterfaceGuid)
// Bring up the interface and start the Thread logic
//
otInterfaceUp(device);
otIp6SetEnabled(device, true);
otThreadStart(device);
@@ -400,7 +400,7 @@ void MainPage::DisconnectNetwork(Platform::Guid InterfaceGuid)
otThreadStop(device);
otInterfaceDown(device);
otIp6SetEnabled(device, false);
// Cleanup
otFreeMemory(device);