bug 813 also affects Qap

This commit is contained in:
Nicola Baldo
2010-04-12 14:12:25 +02:00
parent 165d72e17e
commit 8ee18d95c8

View File

@@ -439,14 +439,20 @@ void
QapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from)
{
NS_LOG_FUNCTION (this << packet << from << to);
ForwardDown (packet, from, to);
if (to.IsBroadcast () || m_stationManager->IsAssociated (to))
{
ForwardDown (packet, from, to);
}
}
void
QapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to)
{
NS_LOG_FUNCTION (this << packet << to);
ForwardDown (packet, m_low->GetAddress (), to);
if (to.IsBroadcast () || m_stationManager->IsAssociated (to))
{
ForwardDown (packet, m_low->GetAddress (), to);
}
}
bool