wifi: Simplify condition in WifiTxVector::GetContentChannels
This commit is contained in:
committed by
Sébastien Deronne
parent
ab4a782bb7
commit
77643aec3a
@@ -678,8 +678,7 @@ WifiTxVector::GetContentChannels(uint8_t p20Index) const
|
||||
const auto& userInfo = GetHeMuUserInfo(staId);
|
||||
NS_ASSERT(ru == userInfo.ru);
|
||||
|
||||
if ((ruType == HeRu::RU_484_TONE) || (ruType == HeRu::RU_996_TONE) ||
|
||||
(ruType == HeRu::RU_2x996_TONE))
|
||||
if (ruType > HeRu::RU_242_TONE)
|
||||
{
|
||||
for (auto i = 0; i < ((ruType == HeRu::RU_2x996_TONE) ? 2 : 1); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user