From 2f8080b483912c3fd5f7e37dfa1fe554ec9b9e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Fri, 26 Feb 2016 12:48:21 +0100 Subject: [PATCH] wifi: fix address field for commit 02ada4d0519e in case of VHT single MPDU --- src/wifi/model/mac-low.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/mac-low.cc b/src/wifi/model/mac-low.cc index 7e4d9b491..d91d2c77b 100644 --- a/src/wifi/model/mac-low.cc +++ b/src/wifi/model/mac-low.cc @@ -3223,7 +3223,7 @@ MacLow::AggregateToAmpdu (Ptr packet, const WifiMacHeader hdr) newPacket->AddPacketTag (ampdutag); NS_LOG_DEBUG ("tx unicast VHT single MPDU with sequence number " << hdr.GetSequenceNumber ()); - listenerIt->second->SetAmpdu (hdr.GetAddr2 (), true); + listenerIt->second->SetAmpdu (hdr.GetAddr1 (), true); } } }