Commit 2b1d4c42 authored by Stephen Brennan's avatar Stephen Brennan Committed by Greg Kroah-Hartman

staging: rtl8192u: fix macro alignment in ieee80211

Several macros display unaligned, due to mixes of tabs and spaces. These
can be fixed by making spacing consistent, do this.
Signed-off-by: default avatarStephen Brennan <stephen@brennan.io>
Link: https://lore.kernel.org/r/20190821143540.4501-3-stephen@brennan.ioSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee16d7d3
...@@ -460,7 +460,8 @@ do { if (ieee80211_debug_level & (level)) \ ...@@ -460,7 +460,8 @@ do { if (ieee80211_debug_level & (level)) \
printk(KERN_DEBUG "ieee80211: %s()\n", __func__); \ printk(KERN_DEBUG "ieee80211: %s()\n", __func__); \
for (i = 0; i < (int)(datalen); i++) { \ for (i = 0; i < (int)(datalen); i++) { \
printk("%2x ", pdata[i]); \ printk("%2x ", pdata[i]); \
if ((i + 1) % 16 == 0) printk("\n"); \ if ((i + 1) % 16 == 0) \
printk("\n"); \
} \ } \
printk("\n"); \ printk("\n"); \
} \ } \
......
...@@ -254,8 +254,8 @@ extern u8 MCS_FILTER_1SS[16]; ...@@ -254,8 +254,8 @@ extern u8 MCS_FILTER_1SS[16];
#define LEGACY_WIRELESS_MODE IEEE_MODE_MASK #define LEGACY_WIRELESS_MODE IEEE_MODE_MASK
#define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \ #define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \
((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ?\ ((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ? \
(LegacyRate) :\ (LegacyRate) : \
(PICK_RATE(LegacyRate, HTRate)) (PICK_RATE(LegacyRate, HTRate))
// MCS Bw 40 {1~7, 12~15,32} // MCS Bw 40 {1~7, 12~15,32}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment