Bugzilla – Attachment #2398: suggested patch for bug #2386
if (m_state == SLEEP || m_disabled == true)
{
NS_LOG_DEBUG ("Transmission ended but node sleeping or dead");
m_state = SLEEP;
UpdatePowerConsumption (SLEEP);
return;
}