]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/RadioClientC.nc
bugfix: radio token was not properly transferred when MLME_SCAN/_RX_ENABLE was called...
[tinyos-2.x.git] / tos / lib / mac / tkn154 / RadioClientC.nc
index 8aabcf70c1e718fe0bcdb099e87a94d8a0b2bcaa..a9fd02cf81f144a4fe16d94eba9a9d00dd1303c1 100644 (file)
@@ -44,6 +44,7 @@ generic configuration RadioClientC(uint8_t clientID)
     interface SlottedCsmaCa;
     interface UnslottedCsmaCa;
     interface TransferableResource as RadioToken;
+    interface ResourceRequested as RadioTokenRequested;
   }
 }
 implementation
@@ -55,5 +56,6 @@ implementation
   SlottedCsmaCa = RadioControlP.SlottedCsmaCa[clientID];
   UnslottedCsmaCa = RadioControlP.UnslottedCsmaCa[clientID];
   RadioToken = RadioControlP.TransferableResource[clientID];
+  RadioTokenRequested = RadioControlP.ResourceRequested[clientID];
 }