]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/PibP.nc
renaming
[tinyos-2.x.git] / tos / lib / mac / tkn154 / PibP.nc
index bf8a0ac24d5cd5249ff948f83dba891da3f3ebc4..b4e7f6f9a37a64206c3ad0a9a474443008ff8b08 100644 (file)
@@ -62,8 +62,8 @@ module PibP {
   uses
   {
     interface Get<bool> 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--) {