src/devices/wifi/nqap-wifi-mac.cc
changeset 3607 e75787538c9a
parent 3604 a84d99890289
child 3608 63b5da6fee38
--- a/src/devices/wifi/nqap-wifi-mac.cc	Tue Sep 02 15:47:49 2008 -0700
+++ b/src/devices/wifi/nqap-wifi-mac.cc	Tue Sep 02 16:08:54 2008 -0700
@@ -432,14 +432,14 @@
               NS_LOG_DEBUG ("frame for me from="<<hdr->GetAddr2 ());
               ForwardUp (packet, hdr->GetAddr2 (), hdr->GetAddr1 ());
             } 
-          else 
+          else
             {
               NS_LOG_DEBUG ("forwarding frame from="<<hdr->GetAddr2 ()<<", to="<<hdr->GetAddr3 ());
               Ptr<Packet> copy = packet->Copy ();
               ForwardDown (packet,
                            hdr->GetAddr2 (), 
                            hdr->GetAddr3 ());
-              ForwardUp (copy, hdr->GetAddr2 (), hdr->GetAddr1 ());
+              ForwardUp (copy, hdr->GetAddr2 (), hdr->GetAddr3 ());
             }
         } 
       else if (hdr->IsFromDs () &&