File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,16 @@ where
4545 }
4646
4747 /// Reset the persist instance, removing all stored data from the non-volatile storage
48- /// as well as removing all ACLs, fabrics and Wifi networks from the Matter stack.
48+ /// as well as removing all ACLs, fabrics and wireless networks from the Matter stack.
4949 pub async fn reset ( & self ) -> Result < ( ) , Error > {
5050 let ( mut kv, mut buf) = self . store . get ( ) . await ;
5151
5252 kv. remove ( MatterStackKey :: Fabrics as _ , & mut buf) . await ?;
5353 kv. remove ( MatterStackKey :: BasicInfo as _ , & mut buf) . await ?;
5454 kv. remove ( MatterStackKey :: Networks as _ , & mut buf) . await ?;
5555
56+ self . matter . reset_fabrics ( ) ;
57+ self . matter . reset_basic_info ( ) ;
5658 self . networks . reset ( ) ?;
5759
5860 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments