Bug 2541

Summary: preamble not assigned correctly
Product: ns-3 Reporter: natale.patriciello
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: major CC: ns-bugs
Priority: P5    
Version: ns-3.26   
Hardware: All   
OS: All   
Attachments: patch

Description natale.patriciello 2016-11-06 06:03:14 UTC
Created attachment 2659 [details]
patch

Very subtle bug, discovered by static analysis. In practice, the preamble is wrong. If the not-patched version is the desidered behaviour, the first if could be removed.
Comment 1 sebastien.deronne 2016-11-06 06:05:15 UTC
+1, should be dropped asap.
Thanks Natale!
Comment 2 sebastien.deronne 2016-11-06 06:08:07 UTC
Note that this bug will be anyway cleared soon because I am refactoring the code to move preamble to txvector, I will open a new thread for that. But this patch could anyway be pushed in the meantime to ns-3-dev.
Comment 3 sebastien.deronne 2016-11-07 17:11:48 UTC
changeset 12393:c44c7f1a740e