]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Small fix in admission test
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 17 Jun 2008 15:29:36 +0000 (17:29 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 17 Jun 2008 15:29:36 +0000 (17:29 +0200)
fwp/fwp_manager/admtest_utilization.c

index c17a2deb9c8b27ac65d5588886c2c1024a9a58ad..dbce2aab596c3e84afd1661eddf09bd01f7a5d64 100644 (file)
@@ -125,7 +125,7 @@ int fwp_adm_test(struct fwp_ctable *ct)
                        continue;
 
                const int data_overhead = UDP_HEADER_SIZE + IP_HEADER_SIZE +
-                       LLC_HEADER_SIZE + MAC_FCS_SIZE + MAC_FCS_SIZE;
+                       LLC_HEADER_SIZE + MAC_FCS_SIZE;
 
                duration_usec = frame_duration(data_overhead + bytes%MTU, rate, erp_ofdm, short_preamble);
                duration_usec += frame_duration(data_overhead + MTU, rate, erp_ofdm, short_preamble)*(fragments-1);