from and to addresses were inverted
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 02 Sep 2008 16:31:41 -0700
changeset 3608 63b5da6fee38
parent 3607 e75787538c9a
child 3609 475d6e5d6794
from and to addresses were inverted
src/devices/wifi/nqap-wifi-mac.cc
--- a/src/devices/wifi/nqap-wifi-mac.cc	Tue Sep 02 16:08:54 2008 -0700
+++ b/src/devices/wifi/nqap-wifi-mac.cc	Tue Sep 02 16:31:41 2008 -0700
@@ -294,7 +294,7 @@
 NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to)
 {
   NS_LOG_FUNCTION (this << packet << to);
-  ForwardDown (packet, to, m_low->GetAddress ());
+  ForwardDown (packet, m_low->GetAddress (), to);
 }
 bool 
 NqapWifiMac::SupportsSendFrom (void) const