mirror of
https://github.com/espressif/openthread.git
synced 2026-10-02 05:47:40 +00:00
[mle] check netif is up before processing discover scan (#6919)
This commit updates `Mle::DiscoverScanner` to check that IPv6 interface is enabled from `Discover()` (returns `kErrorInvalidState` if netif is not up).
This commit is contained in:
@@ -78,6 +78,8 @@ expect -re "\\| +$channel \\| +-?\\d+ \\|"
|
||||
expect_line "Done"
|
||||
|
||||
switch_node 3
|
||||
send "discover\n"
|
||||
expect "Error 13: InvalidState"
|
||||
send "ifconfig up\n"
|
||||
expect_line "Done"
|
||||
send "discover $channel\n"
|
||||
|
||||
Reference in New Issue
Block a user