From 6342b3fbd1de8a47d576c6b500cb4c5b314cd97c Mon Sep 17 00:00:00 2001 From: Mirko Banchi Date: Mon, 23 Aug 2010 14:01:50 +0200 Subject: [PATCH] Bug 983: handle correctly ADDBA response action frames in QadhocWifiMac --- src/devices/wifi/qadhoc-wifi-mac.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/wifi/qadhoc-wifi-mac.cc b/src/devices/wifi/qadhoc-wifi-mac.cc index 6ae41a3f6..d5a31abb0 100644 --- a/src/devices/wifi/qadhoc-wifi-mac.cc +++ b/src/devices/wifi/qadhoc-wifi-mac.cc @@ -388,7 +388,7 @@ QadhocWifiMac::Receive (Ptr packet, const WifiMacHeader *hdr) SendAddBaResponse (&reqHdr, hdr->GetAddr2 ()); } else if (actionHdr.GetCategory () == WifiActionHeader::BLOCK_ACK && - actionHdr.GetAction().blockAck == WifiActionHeader::BLOCK_ACK_ADDBA_REQUEST) + actionHdr.GetAction().blockAck == WifiActionHeader::BLOCK_ACK_ADDBA_RESPONSE) { MgtAddBaResponseHeader respHdr; packet->RemoveHeader (respHdr);