Bugzilla – Bug 2008
crash if ending rx while status change is in progress
Last modified: 2015-05-02 16:24:09 UTC
Created attachment 1903 [details] simple test case When receiving more than one packet (collision), if at the moment of receiving the second packet a state change is in progress the simulator will crash, as the currentRxParams have been cleared and the state is still BUSY_RX. I attach a test case able to reproduce the bug, I am not sure how this case should be handled.
Created attachment 1905 [details] possible bugfix The patch is untested. No, it's tested. MAYBE it's tested. The tests are passing, almost. I had to "fix" one of them (the collision one) because in one specific sub-clause one packet is now received, and before none was received.
Hi Tommaso, thank you, this patch works also for my simulation.
changeset 11346 a8900f6fe42d