Skip to content

Commit 58cdaeb

Browse files
wqx6bzbarsky-apple
andauthored
Update src/app/clusters/thread-border-router-management-server/thread-br-delegate.h
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 81c2387 commit 58cdaeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/clusters/thread-border-router-management-server/thread-br-delegate.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ class Delegate
7878
virtual CHIP_ERROR CommitActiveDataset() = 0;
7979

8080
// The Delegate implementation should restore the backup active dataset in this function.
81-
// Once RevertActiveDataset is called the ActivateDatasetCallback of previous SetActiveDataset should never be called.
81+
// If RevertActiveDataset is called before the ActivateDatasetCallback that would result from a
82+
// previous SetActiveDataset, the delegate must ensure that the ActivateDatasetCallback
83+
// for that previous SetActiveDataset call will not happen.
8284
virtual CHIP_ERROR RevertActiveDataset() = 0;
8385

8486
virtual CHIP_ERROR SetPendingDataset(const Thread::OperationalDataset & pendingDataset) = 0;

0 commit comments

Comments
 (0)