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;
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();
}
{
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--) {