From 386127f8da1db5afa793951764feed9bf94faf7b Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Sat, 6 Feb 2021 22:02:41 +0100 Subject: [PATCH] wifi: (fixes #308) Remove typedef in definition of struct RuSpec --- src/wifi/model/he-ru.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wifi/model/he-ru.h b/src/wifi/model/he-ru.h index ab5e197df..e066bee34 100644 --- a/src/wifi/model/he-ru.h +++ b/src/wifi/model/he-ru.h @@ -61,12 +61,12 @@ public: * subfield of the User Info field of Trigger frames. Note that primary80MHz * must be true if ruType is RU_2x996_TONE. */ - typedef struct + struct RuSpec { bool primary80MHz; //!< true if the RU is allocated in the primary 80MHz channel RuType ruType; //!< RU type std::size_t index; //!< index (starting at 1) - } RuSpec; + }; /**