From 2052d11cc53a3357e387a0c64c167327f7937429 Mon Sep 17 00:00:00 2001 From: An Ha Date: Wed, 3 Sep 2014 18:33:08 -0400 Subject: [PATCH] Staging: rtl8821ae: base: add missing blank line after declaration Add a missing blank line after declaration to fix coding style issue. Signed-off-by: An Ha Signed-off-by: Greg Kroah-Hartman --- 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 4a36da06c01c..dbf28cea20d2 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.39.5