ieee80211: remove redundant leading zeroes
authorSara Sharon <sara.sharon@intel.com>
Fri, 31 Aug 2018 08:31:09 +0000 (11:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:03:13 +0000 (10:03 +0200)
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>
include/linux/ieee80211.h

index 9c03a7d5e400df9f2853c60c9816c150c447d937..17ea51d088aef3b2156ce0c77b771dcb3746b36f 100644 (file)
@@ -1963,8 +1963,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