--- a/RELEASE_NOTES Thu Mar 24 20:54:02 2016 +0100
+++ b/RELEASE_NOTES Thu Mar 31 23:31:50 2016 +0200
@@ -25,7 +25,8 @@
Bugs fixed
----------
-- Bug 2346 - SixLowPan ConpressionThreshold can be violated
+- Bug 2346 - SixLowPan ConpressionThreshold can be violated.
+- Bug 2347 - LrWpan Ascii traces are hooked to the wrong traces.
Known issues
------------
--- a/src/lr-wpan/helper/lr-wpan-helper.cc Thu Mar 24 20:54:02 2016 +0100
+++ b/src/lr-wpan/helper/lr-wpan-helper.cc Thu Mar 31 23:31:50 2016 +0200
@@ -367,13 +367,13 @@
// The Mac and Phy objects have the trace sources for these
//
- asciiTraceHelper.HookDefaultReceiveSinkWithoutContext<LrWpanNetDevice> (device, "MacRx", theStream);
+ asciiTraceHelper.HookDefaultReceiveSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacRx", theStream);
device->GetMac ()->TraceConnectWithoutContext ("MacTx", MakeBoundCallback (&AsciiLrWpanMacTransmitSinkWithoutContext, theStream));
- asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanNetDevice> (device, "MacTxEnqueue", theStream);
- asciiTraceHelper.HookDefaultDequeueSinkWithoutContext<LrWpanNetDevice> (device, "MacTxDequeue", theStream);
- asciiTraceHelper.HookDefaultDropSinkWithoutContext<LrWpanNetDevice> (device, "MacTxDrop", theStream);
+ asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacTxEnqueue", theStream);
+ asciiTraceHelper.HookDefaultDequeueSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacTxDequeue", theStream);
+ asciiTraceHelper.HookDefaultDropSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacTxDrop", theStream);
return;
}