staging: rtl8723bs: use tabs for indentation
PATCH 1/1 staging: rtl8723bs: use tabs for indentation
Use tabs for indentation to conform to styleguide.
Signed-off-by Daniel Watson <[email protected]>
--- drivers/staging/rtl8723bs/include/sta_info.h | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-)
drivers/staging/rtl8723bs/include/sta_info.h +13 -13
@@ -16,9 +16,9 @@/* if mode == 0, then the sta is allowed once the addr is hit. */ /* if mode == 1, then the sta is rejected once the addr is non-hit. */ struct rtw_wlan_acl_node { -struct list_head list; -u8 addr[ETH_ALEN ]; -u8 valid; +struct list_head list; +u8 addr[ETH_ALEN ]; +u8 valid; };/* mode = 0, disable */
@@ -340,19 +340,19 @@ struct sta_priv {static inline u32 wifi_mac_hash (u8 *mac) { -u32 x; +u32 x; - x = mac[0 ]; - x = (x <<2 ) ^ mac[1 ]; - x = (x <<2 ) ^ mac[2 ]; - x = (x <<2 ) ^ mac[3 ]; - x = (x <<2 ) ^ mac[4 ]; - x = (x <<2 ) ^ mac[5 ]; + x = mac[0 ]; + x = (x <<2 ) ^ mac[1 ]; + x = (x <<2 ) ^ mac[2 ]; + x = (x <<2 ) ^ mac[3 ]; + x = (x <<2 ) ^ mac[4 ]; + x = (x <<2 ) ^ mac[5 ]; - x ^= x >>8 ; - x = x & (NUM_STA -1 ); + x ^= x >>8 ; + x = x & (NUM_STA -1 ); -return x; +return x; }
Signature · 1 line
2.34.1