[cc1352] fix clearing source match entry issue (#3279)

Fixes the same issue on platform cc2650 and cc2652
This commit is contained in:
Zhanglong Xia
2018-11-09 06:38:27 -08:00
committed by Jonathan Hui
parent fa8dcf7ef4
commit 8440656f88
3 changed files with 0 additions and 6 deletions
-2
View File
@@ -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));
}
-2
View File
@@ -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));
}
-2
View File
@@ -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));
}