We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e34f23 + edff2b5 commit 8281cdfCopy full SHA for 8281cdf
system/src/control/wifi_new.cpp
@@ -94,6 +94,8 @@ int joinNewNetwork(ctrl_request* req) {
94
const NcpClientLock lock(ncpClient);
95
#if HAL_PLATFORM_RTL872X
96
if (!conf.hidden()) {
97
+ // scan checks that the NcpState is ON
98
+ CHECK(ncpClient->on());
99
// Scan for networks to detect the network security type
100
Vector<WifiScanResult> networks;
101
CHECK(ncpClient->scan([](WifiScanResult network, void* data) -> int {
0 commit comments