mirror of
https://github.com/espressif/openthread.git
synced 2026-09-25 18:37:40 +00:00
ext address set fix (#333)
This commit is contained in:
committed by
Jonathan Hui
parent
fd00339d68
commit
b209ac63aa
@@ -206,7 +206,7 @@ ThreadError Mac::SetExtAddress(const ExtAddress &aExtAddress)
|
||||
|
||||
for (size_t i = 0; i < sizeof(buf); i++)
|
||||
{
|
||||
buf[i] = mExtAddress.m8[7 - i];
|
||||
buf[i] = aExtAddress.m8[7 - i];
|
||||
}
|
||||
|
||||
SuccessOrExit(error = otPlatRadioSetExtendedAddress(buf));
|
||||
|
||||
Reference in New Issue
Block a user