From: Aybuke Ozdemir Date: Sat, 20 Sep 2014 22:35:39 +0000 (+0300) Subject: Staging: rtl8192ee: Missing a blank line after declarations X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a56f7905426ef39d474c691ec181e7c1501d36a;p=linux-beck.git Staging: rtl8192ee: Missing a blank line after declarations This patch fixes these warning messages found by checkpatch.pl: WARNING : Missing a blank line after declarations. Signed-off-by: Aybuke Ozdemir Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192ee/base.c b/drivers/staging/rtl8192ee/base.c index 2f0fea5010f3..1cbe70c69edd 100644 --- a/drivers/staging/rtl8192ee/base.c +++ b/drivers/staging/rtl8192ee/base.c @@ -243,6 +243,7 @@ static void _rtl_init_hw_vht_capab(struct ieee80211_hw *hw, if (rtlhal->hw_type == HARDWARE_TYPE_RTL8812AE) { u16 mcs_map; + vht_cap->vht_supported = true; vht_cap->cap = IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 | @@ -451,6 +452,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); } @@ -632,6 +634,7 @@ static void _rtl_query_shortgi(struct ieee80211_hw *hw, u8 rate_flag = info->control.rates[0].flags; u8 sgi_40 = 0, sgi_20 = 0, bw_40 = 0; u8 sgi_80 = 0, bw_80 = 0; + tcb_desc->use_shortgi = false; if (sta == NULL)