forked from Minki/linux
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 <aybuke.147@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
239a5b01a1
commit
4a56f79054
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user