ieee80211: remove redundant leading zeroes
authorSara Sharon <sara.sharon@intel.com>
Fri, 31 Aug 2018 08:31:09 +0000 (11:31 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:39:41 +0000 (11:39 +0100)
The defines of IEEE80211_HE_OPERATION_VHT_OPER_INFO and
IEEE80211_HE_OPERATION_MULTI_BSSID_AP have leading zeroes
that makes the number look like it is bigger than 32 bit.
This is misleading, remove it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h

index fa3d99b72c4e8624a185c3c5b274fc6d9c02ca78..6c75148d4c9bd2349038630464d3dcf137e9e1e0 100644 (file)
@@ -1981,8 +1981,8 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info)
 #define IEEE80211_HE_OPERATION_TWT_REQUIRED                    0x00000200
 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_MASK              0x000ffc00
 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_OFFSET            10
-#define IEEE80211_HE_OPERATION_PARTIAL_BSS_COLOR               0x000100000
-#define IEEE80211_HE_OPERATION_VHT_OPER_INFO                   0x000200000
+#define IEEE80211_HE_OPERATION_PARTIAL_BSS_COLOR               0x00100000
+#define IEEE80211_HE_OPERATION_VHT_OPER_INFO                   0x00200000
 #define IEEE80211_HE_OPERATION_MULTI_BSSID_AP                  0x10000000
 #define IEEE80211_HE_OPERATION_TX_BSSID_INDICATOR              0x20000000
 #define IEEE80211_HE_OPERATION_BSS_COLOR_DISABLED              0x40000000