* [PATCH] Staging: rtl8821ae: base: add missing blank line after declaration
@ 2014-09-03 22:33 An Ha
0 siblings, 0 replies; only message in thread
From: An Ha @ 2014-09-03 22:33 UTC (permalink / raw)
To: gregkh, gulsah.1004, paulmck, Larry.Finger, linville
Cc: devel, linux-kernel, An Ha
Add a missing blank line after declaration to fix coding style issue.
Signed-off-by: An Ha <zero579911@gmail.com>
---
drivers/staging/rtl8821ae/base.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/rtl8821ae/base.c b/drivers/staging/rtl8821ae/base.c
index 4a36da0..dbf28ce 100644
--- a/drivers/staging/rtl8821ae/base.c
+++ b/drivers/staging/rtl8821ae/base.c
@@ -364,6 +364,7 @@ static void _rtl_init_mac80211(struct ieee80211_hw *hw)
SET_IEEE80211_PERM_ADDR(hw, rtlefuse->dev_addr);
} else {
u8 rtlmac[] = { 0x00, 0xe0, 0x4c, 0x81, 0x92, 0x00 };
+
get_random_bytes((rtlmac + (ETH_ALEN - 1)), 1);
SET_IEEE80211_PERM_ADDR(hw, rtlmac);
}
@@ -553,6 +554,7 @@ static void _rtl_query_shortgi(struct ieee80211_hw *hw,
struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
u8 rate_flag = info->control.rates[0].flags;
u8 sgi_40 = 0, sgi_20 = 0, bw_40 = 0;
+
tcb_desc->use_shortgi = false;
if (sta == NULL)
--
2.1.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-03 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03 22:33 [PATCH] Staging: rtl8821ae: base: add missing blank line after declaration An Ha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome