fixed error when setting up the bandwidth value to 6 in LTE module

This commit is contained in:
Biljana Bojovic
2013-06-26 18:42:17 +02:00
parent 186893dc20
commit a6f3de6043

View File

@@ -1030,7 +1030,7 @@ void
LteUePhy::DoSetDlBandwidth (uint8_t dlBandwidth)
{
NS_LOG_FUNCTION (this << (uint32_t) dlBandwidth);
if (m_dlBandwidth != dlBandwidth)
if (m_dlBandwidth != dlBandwidth or !m_dlConfigured)
{
m_dlBandwidth = dlBandwidth;