add a note to remind about the purpose of the unsub test command

This commit is contained in:
bunnie 2022-04-25 18:32:09 +08:00
parent d23dbd1db8
commit a9b2dd535a

View file

@ -63,6 +63,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
if let Some(sub_cmd) = tokens.next() {
match sub_cmd {
"unsub" => {
// this is just for testing the unsub call itself. It should result in the connection manager itself breaking.
match env.netmgr.wifi_state_unsubscribe() {
Ok(_) => write!(ret, "wifi state successful"),
Err(e) => write!(ret, "wifi unsub error: {:?}", e),