kinetis : fix deadlock on device having hasidcode false.
parent
bfe634aa91
commit
508bc7ca36
|
@ -1122,9 +1122,7 @@ int dap_syssec(struct adiv5_dap *dap)
|
||||||
|
|
||||||
while (tap != NULL)
|
while (tap != NULL)
|
||||||
{
|
{
|
||||||
if (!tap->hasidcode)
|
if ( tap->hasidcode && (dap_syssec_filter_data[i].idcode == tap->idcode) )
|
||||||
continue;
|
|
||||||
if ( dap_syssec_filter_data[i].idcode == tap->idcode )
|
|
||||||
{
|
{
|
||||||
LOG_DEBUG("DAP: mdmap_init for idcode: %08x",tap->idcode);
|
LOG_DEBUG("DAP: mdmap_init for idcode: %08x",tap->idcode);
|
||||||
dap_syssec_filter_data[i].dap_init(dap);
|
dap_syssec_filter_data[i].dap_init(dap);
|
||||||
|
|
Loading…
Reference in New Issue