]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/rf212/RF212DriverLayerP.nc
add the SendNotifier interface
[tinyos-2.x.git] / tos / chips / rf2xx / rf212 / RF212DriverLayerP.nc
index 1df169a2b5207cf1f7d5e242d8aad351018ad607..616292dfd2920433839be253df1d9d23bb812298 100644 (file)
@@ -959,6 +959,10 @@ implementation
 
        async command uint8_t PacketLinkQuality.get(message_t* msg)
        {
+               // we have some bug in BLIP, so fix it here
+               if( getMeta(msg)->lqi > 120 )
+                       return 120;
+
                return getMeta(msg)->lqi;
        }