X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FAssociateP.nc;h=5740941980813ceec55195c4aeaff92f2a13dd7d;hb=82c215ff867ea7ef4fa748fb72b686c32ffb25e1;hp=c420f3201700c61f53f21b63018705e22e5a9d54;hpb=afb6da3df34fdebb6843598761ef4de5eb0186f6;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/AssociateP.nc b/tos/lib/mac/tkn154/AssociateP.nc index c420f320..57409419 100644 --- a/tos/lib/mac/tkn154/AssociateP.nc +++ b/tos/lib/mac/tkn154/AssociateP.nc @@ -152,7 +152,7 @@ implementation call TxControlPool.put(txControl); } } - call Debug.log(LEVEL_INFO, AssociateP_REQUEST, status, 0, 0); + call Debug.log(DEBUG_LEVEL_INFO, AssociateP_REQUEST, status, 0, 0); return status; } @@ -165,10 +165,10 @@ implementation signal MLME_ASSOCIATE.confirm(0xFFFF, status, 0); } else { call ResponseTimeout.startOneShot(call MLME_GET.macResponseWaitTime()*IEEE154_aBaseSuperframeDuration); - call Debug.log(LEVEL_INFO, AssociateP_SETTIMER, + call Debug.log(DEBUG_LEVEL_INFO, AssociateP_SETTIMER, call MLME_GET.macResponseWaitTime()*IEEE154_aBaseSuperframeDuration, 0, 0); } - call Debug.log(LEVEL_INFO, AssociateP_TXDONE, status, 0, 0); + call Debug.log(DEBUG_LEVEL_INFO, AssociateP_TXDONE, status, 0, 0); } event void ResponseTimeout.fired() @@ -202,7 +202,7 @@ implementation event void DataRequest.pollDone() { if (m_associationOngoing){ - call Debug.log(LEVEL_INFO, AssociateP_POLL_DONE, m_payloadAssocRequest[0], m_assocRespStatus, 0); + call Debug.log(DEBUG_LEVEL_INFO, AssociateP_POLL_DONE, m_payloadAssocRequest[0], m_assocRespStatus, 0); call ResponseTimeout.stop(); m_associationOngoing = FALSE; signal MLME_ASSOCIATE.confirm(m_shortAddress, m_assocRespStatus, 0);