mirror of
https://github.com/meshtastic/firmware.git
synced 2026-08-02 11:29:47 -04:00
writeSecret is a setter, so calling it on the NETWORK_CONFIG get path was a no-op: the buffer already holds the stored psk, never the sentinel. MQTT_CONFIG returned the broker password verbatim. Both get paths now return secretReserved when req.from != 0, and the matching set paths call writeSecret so a read-modify-write round trip keeps the stored value.
1.3 KiB
1.3 KiB