Bug 2755

Summary: In ns-3.26, the function DefaultChannelScheduler::SwitchToNextChannel() has a error.
Product: ns-3 Reporter: ly <fyly123>
Component: wave moduleAssignee: ns-bugs <ns-bugs>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: ns-3.26   
Hardware: PC   
OS: Linux   

Description ly 2017-06-15 00:45:44 EDT
Hi.
https://www.nsnam.org/docs/release/3.26/doxygen/default-channel-scheduler_8cc_source.html
In this URL, I find the function "DefaultChannelScheduler::SwitchToNextChannel (uint32_t curChannelNumber, uint32_t nextChannelNumber)" has a error.
The first line of the code for this function is " NS_LOG_FUNCTION (this << curChannelNumber << curChannelNumber);".
But, I think it should be " NS_LOG_FUNCTION (this << curChannelNumber << nextChannelNumber);". 
Because this is the log of the function, it must include the correct arguments.