mirror of https://gitee.com/openkylin/linux.git
staging: rtl8188eu: cleanup whitespace in update_hw_ht_param
Replace tabs with spaces in declarations and reomve two blank lines in update_hw_ht_param to cleanup whitespace and improve readability. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20191003122514.1760-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7e3303fc8c
commit
5f6bca795f
|
@ -562,8 +562,8 @@ static void update_hw_ht_param(struct adapter *padapter)
|
||||||
{
|
{
|
||||||
u8 max_ampdu_len;
|
u8 max_ampdu_len;
|
||||||
u8 min_mpdu_spacing;
|
u8 min_mpdu_spacing;
|
||||||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||||
struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
|
struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
|
||||||
|
|
||||||
DBG_88E("%s\n", __func__);
|
DBG_88E("%s\n", __func__);
|
||||||
|
|
||||||
|
@ -573,11 +573,9 @@ static void update_hw_ht_param(struct adapter *padapter)
|
||||||
ampdu_params_info [4:2]:Min MPDU Start Spacing
|
ampdu_params_info [4:2]:Min MPDU Start Spacing
|
||||||
*/
|
*/
|
||||||
max_ampdu_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x03;
|
max_ampdu_len = pmlmeinfo->HT_caps.ampdu_params_info & 0x03;
|
||||||
|
|
||||||
min_mpdu_spacing = (pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) >> 2;
|
min_mpdu_spacing = (pmlmeinfo->HT_caps.ampdu_params_info & 0x1c) >> 2;
|
||||||
|
|
||||||
rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_MIN_SPACE, &min_mpdu_spacing);
|
rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_MIN_SPACE, &min_mpdu_spacing);
|
||||||
|
|
||||||
rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, &max_ampdu_len);
|
rtw_hal_set_hwreg(padapter, HW_VAR_AMPDU_FACTOR, &max_ampdu_len);
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
|
|
Loading…
Reference in New Issue