diff --git a/src/core/mac/mac_links.hpp b/src/core/mac/mac_links.hpp index b69827d42..4ae1fd257 100644 --- a/src/core/mac/mac_links.hpp +++ b/src/core/mac/mac_links.hpp @@ -377,9 +377,9 @@ public: mSubMac.SetExtAddress(aExtAddress); #else mExtAddress = aExtAddress; +#endif #if OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE mTrel.HandleExtAddressChange(); -#endif #endif }