View | Details | Raw Unified | Return to bug 813
Collapse All | Expand All

(-)a/src/devices/wifi/nqap-wifi-mac.cc (-2 / +8 lines)
 Lines 312-324    Link Here 
312
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from)
312
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from)
313
{
313
{
314
  NS_LOG_FUNCTION (this << packet << to << from);
314
  NS_LOG_FUNCTION (this << packet << to << from);
315
  ForwardDown (packet, from, to);
315
  if (to.IsBroadcast() || m_stationManager->IsAssociated (to))
316
    {
317
      ForwardDown (packet, from, to);
318
    }
316
}
319
}
317
void 
320
void 
318
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to)
321
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to)
319
{
322
{
320
  NS_LOG_FUNCTION (this << packet << to);
323
  NS_LOG_FUNCTION (this << packet << to);
321
  ForwardDown (packet, m_low->GetAddress (), to);
324
  if (to.IsBroadcast() || m_stationManager->IsAssociated (to))
325
    {
326
      ForwardDown (packet, m_low->GetAddress (), to);
327
    }
322
}
328
}
323
bool 
329
bool 
324
NqapWifiMac::SupportsSendFrom (void) const
330
NqapWifiMac::SupportsSendFrom (void) const

Return to bug 813