|
@@ -1001,7 +1001,7 @@ unsigned cmDevCfgNetActiveCount( cmDevCfgH_t h )
|
1001
|
1001
|
unsigned n;
|
1002
|
1002
|
|
1003
|
1003
|
for(n=0; cp!=NULL; cp=cp->next)
|
1004
|
|
- if( cp->typeId == kNetDcmTId && cp->u.a.activeFl )
|
|
1004
|
+ if( cp->typeId == kNetDcmTId && cp->u.n.activeFl )
|
1005
|
1005
|
++n;
|
1006
|
1006
|
|
1007
|
1007
|
return n;
|
|
@@ -1017,7 +1017,7 @@ const cmDcmNet_t* cmDevCfgNetActiveCfg( cmDevCfgH_t h, unsigned idx )
|
1017
|
1017
|
unsigned i;
|
1018
|
1018
|
|
1019
|
1019
|
for(i=0; cp!=NULL; cp=cp->next)
|
1020
|
|
- if( cp->typeId == kNetDcmTId && cp->u.a.activeFl )
|
|
1020
|
+ if( cp->typeId == kNetDcmTId && cp->u.n.activeFl )
|
1021
|
1021
|
{
|
1022
|
1022
|
if( i == idx )
|
1023
|
1023
|
return &cp->u.n;
|