mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
sta_config_equal (#5937)
* sta_config_equal * sta_config_equal bug update
This commit is contained in:
parent
c1e439d447
commit
68c0a1cc9e
@ -81,6 +81,20 @@ static bool sta_config_equal(const station_config& lhs, const station_config& rh
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(lhs.threshold.rssi != rhs.threshold.rssi) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(lhs.threshold.authmode != rhs.threshold.authmode) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef NONOSDK3V0
|
||||||
|
if (lhs.open_and_wep_mode_disable != rhs.open_and_wep_mode_disable) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user