[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025100523-kilt-feline-bada@gregkh>
Date: Sun, 5 Oct 2025 16:23:56 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Rohan Tripathi <trohan2000@...il.com>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: clean up style in rtw_ap.c
On Sun, Oct 05, 2025 at 09:55:25AM -0400, Rohan Tripathi wrote:
> @@ -480,14 +481,13 @@ void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta)
> /* check if sta supports rx ampdu */
> phtpriv_sta->ampdu_enable = phtpriv_ap->ampdu_enable;
>
> - phtpriv_sta->rx_ampdu_min_spacing = (
> - phtpriv_sta->ht_cap.ampdu_params_info & IEEE80211_HT_CAP_AMPDU_DENSITY
> + phtpriv_sta->rx_ampdu_min_spacing = (phtpriv_sta->ht_cap.ampdu_params_info &
> + IEEE80211_HT_CAP_AMPDU_DENSITY
> ) >> 2;
These lines do not look right even after this change, do they? We can
do better :)
thanks,
greg k-h
Powered by blists - more mailing lists