wifi: Fix assert condition in HeFEM::ReceiveMpdu()

Other FEMs have the correct condition.
This commit is contained in:
Stefano Avallone
2022-04-02 18:27:46 +02:00
parent 41992a8918
commit e681096530

View File

@@ -1358,7 +1358,7 @@ HeFrameExchangeManager::ReceiveMpdu (Ptr<WifiMacQueueItem> mpdu, RxSignalInfo rx
const WifiTxVector& txVector, bool inAmpdu)
{
// The received MPDU is either broadcast or addressed to this station
NS_ASSERT (mpdu->GetHeader ().GetAddr1 ().IsBroadcast ()
NS_ASSERT (mpdu->GetHeader ().GetAddr1 ().IsGroup ()
|| mpdu->GetHeader ().GetAddr1 () == m_self);
const WifiMacHeader& hdr = mpdu->GetHeader ();