mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
[cc1352] fix clearing source match entry issue (#3279)
Fixes the same issue on platform cc2650 and cc2652
This commit is contained in:
committed by
Jonathan Hui
parent
fa8dcf7ef4
commit
8440656f88
@@ -1609,8 +1609,6 @@ otError otPlatRadioClearSrcMatchExtEntry(otInstance *aInstance, const otExtAddre
|
||||
else
|
||||
{
|
||||
/* we are not running, so we must update the values ourselves */
|
||||
sSrcMatchExtData.srcPendEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcMatchEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcPendEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
sSrcMatchExtData.srcMatchEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
}
|
||||
|
||||
@@ -1532,8 +1532,6 @@ otError otPlatRadioClearSrcMatchExtEntry(otInstance *aInstance, const otExtAddre
|
||||
else
|
||||
{
|
||||
/* we are not running, so we must update the values ourselves */
|
||||
sSrcMatchExtData.srcPendEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcMatchEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcPendEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
sSrcMatchExtData.srcMatchEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
}
|
||||
|
||||
@@ -1589,8 +1589,6 @@ otError otPlatRadioClearSrcMatchExtEntry(otInstance *aInstance, const otExtAddre
|
||||
else
|
||||
{
|
||||
/* we are not running, so we must update the values ourselves */
|
||||
sSrcMatchExtData.srcPendEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcMatchEn[idx] = 0u;
|
||||
sSrcMatchExtData.srcPendEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
sSrcMatchExtData.srcMatchEn[idx / 32] &= ~(1 << (idx % 32));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user