Fix the all-zero MAC address for own node (#11409)

* Fix the all-zero MAC address for own node

* Increment native suite count from 46 to 47

* Fix condition for copying MAC address in PhoneAPI
This commit is contained in:
Jonathan Bennett
2026-08-11 19:28:25 +00:00
committed by GitHub
parent 9cc1ff99f5
commit d765bd99ca
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -615,6 +615,9 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf)
auto info = TypeConversions::ConvertToNodeInfo(us);
info.has_hops_away = false;
info.is_favorite = true;
// NodeInfoLite dropped macaddr, so ConvertToUser() zero-fills it.
if (info.has_user)
memcpy(info.user.macaddr, owner.macaddr, sizeof(info.user.macaddr));
{
concurrency::LockGuard guard(&nodeInfoMutex);
nodeInfoForPhone = info;
+1 -1
View File
@@ -1 +1 @@
46
47