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);