X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FPibP.nc;h=b4e7f6f9a37a64206c3ad0a9a474443008ff8b08;hb=9b57b0f71ad5b0c00ca230b4e181c113ea88b88c;hp=bf8a0ac24d5cd5249ff948f83dba891da3f3ebc4;hpb=d53d74df87c390b96ceb76154cc6cd1bcdd4b8d7;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/PibP.nc b/tos/lib/mac/tkn154/PibP.nc index bf8a0ac2..b4e7f6f9 100644 --- a/tos/lib/mac/tkn154/PibP.nc +++ b/tos/lib/mac/tkn154/PibP.nc @@ -62,8 +62,8 @@ module PibP { uses { interface Get as PromiscuousModeGet; - interface Init as FrameDispatchReset; - interface Init as FrameDispatchQueueReset; + interface Init as DispatchReset; + interface Init as DispatchQueueReset; interface Init as MacReset; interface SplitControl as RadioControl; interface Random; @@ -206,9 +206,9 @@ implementation event void RadioControl.stopDone(error_t result) { ASSERT(result == SUCCESS); - call FrameDispatchReset.init(); // resets the CAP component(s), spool out frames - call FrameDispatchQueueReset.init(); // resets the CAP queue component(s), spool out frames - call MacReset.init(); // resets the remaining components + call DispatchReset.init(); // resets the dispatch component(s), spools out frames + call DispatchQueueReset.init(); // resets the dispatch queue component(s), spools out frames + call MacReset.init(); // resets the remaining components m_resetSpin = 5; post resetSpinTask(); } @@ -217,8 +217,8 @@ implementation { if (m_resetSpin == 2) { // just to be safe... - call FrameDispatchReset.init(); - call FrameDispatchQueueReset.init(); + call DispatchReset.init(); + call DispatchQueueReset.init(); call MacReset.init(); } if (m_resetSpin--) {