]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/dhv/DhvHSumP.nc
Clean up code
[tinyos-2.x.git] / tos / lib / net / dhv / DhvHSumP.nc
index e550f610906d74de3b50ef0fe7ddcf834325e279..32dd414ad6cf0eaabdf165c510f51fa88a963fa9 100755 (executable)
@@ -78,6 +78,7 @@ implementation{
       local_hash = call DhvHelp.computeHash(0, UQCOUNT_DHV, salt);
       if(rcv_hash == local_hash) {
         call VBitLogic.setSameSummary();
+        commRate = commRate + 1;
       }else{
         call VBitLogic.setVBitState(1);
       }