Staging: rtl8188eu: rtw_ieee80211: Fix indent for 'if' statement.
PATCH 1/1 Staging: rtl8188eu: rtw_ieee80211: Fix indent for 'if' statement.
Adjust indentation for the condition statement.
Issue found by checkpatch.pl
WARNING: suspect code indent for condition statements(8,24)
Signed-off-by Sanjana Sanikommu <[email protected]>
--- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8188eu/core/rtw_ieee80211.c +3 -3
@@ -1008,10 +1008,10 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork)/* parsing HT_INFO_IE */ p =rtw_get_ie (pnetwork->network.ies + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->network.ie_length - _FIXED_IE_LENGTH_);if (p && len >0 ) { - pht_info = (struct HT_info_element *)(p +2 ); - pnetwork->BcnInfo.ht_info_infos_0 = pht_info->infos[0 ]; + pht_info = (struct HT_info_element *)(p +2 ); + pnetwork->BcnInfo.ht_info_infos_0 = pht_info->infos[0 ]; }else { - pnetwork->BcnInfo.ht_info_infos_0 =0 ; + pnetwork->BcnInfo.ht_info_infos_0 =0 ; } }
Signature · 1 line
2.17.1