]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/4bitle/LinkEstimatorP.nc
fix the get link quality interfaces to return 16 bit eetx values
[tinyos-2.x.git] / tos / lib / net / 4bitle / LinkEstimatorP.nc
index 616d44184afd3dab59676c4bbeda1fb9e53092f3..b35e1f4c2e4f789b1ac6eee444e856ab97a56bca 100644 (file)
@@ -437,7 +437,7 @@ implementation {
   }
 
   // return bi-directional link quality to the neighbor
-  command uint8_t LinkEstimator.getLinkQuality(am_addr_t neighbor) {
+  command uint16_t LinkEstimator.getLinkQuality(am_addr_t neighbor) {
     uint8_t idx;
     idx = findIdx(neighbor);
     if (idx == INVALID_RVAL) {