projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096e622
)
Staging: rtl8821ae: base: add missing blank line after declaration
author
An Ha
<zero579911@gmail.com>
Wed, 3 Sep 2014 22:33:08 +0000
(18:33 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:48:01 +0000
(13:48 -0700)
Add a missing blank line after declaration to fix coding style issue.
Signed-off-by: An Ha <zero579911@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/base.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8821ae/base.c
b/drivers/staging/rtl8821ae/base.c
index 4a36da06c01cdff0191a9eb75d950b35616dcfb0..dbf28cea20d2c159d40ace7a124337bbdbd57789 100644
(file)
--- 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)