]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: refactor comments to fix the line length warning for exceeding...
authorMichael Huang <tehsiu.huang@gmail.com>
Sat, 24 Jan 2026 23:15:52 +0000 (15:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jan 2026 14:46:34 +0000 (15:46 +0100)
Adjust the positioning and formatting of comments to align with the
flattened code structure. This ensures comments remain relevant and
clear following the logic refactoring.

Signed-off-by: Michael Huang <tehsiu.huang@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260124231557.18189-3-tehsiu.huang@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index d80c1a2620e2863edb0a06716f12e66bf2f241d6..4039504ad666c01577ff6f356059890800003dc8 100644 (file)
@@ -4987,7 +4987,8 @@ void linked_status_chk(struct adapter *padapter)
                link_count_limit = 7; /*  16 sec */
 
                /*  Marked by Kurt 20130715 */
-               /*  For WiDi 3.5 and latered on, they don't ask WiDi sink to do roaming, so we could not check rx limit that strictly. */
+               /*  For WiDi 3.5 and latered on, they don't ask WiDi sink to do roaming, */
+               /* so we could not check rx limit that strictly. */
                /*  todo: To check why we under miracast session, rx_chk would be false */
                psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.mac_address);
                if (psta) {
@@ -5968,9 +5969,10 @@ u8 set_csa_hdl(struct adapter *padapter, unsigned char *pbuf)
 /*  TDLS_ESTABLISHED   : write RCR DATA BIT */
 /*  TDLS_CS_OFF                : go back to the channel linked with AP, terminating channel switch procedure */
 /*  TDLS_INIT_CH_SEN   : init channel sensing, receive all data and mgnt frame */
-/*  TDLS_DONE_CH_SEN: channel sensing and report candidate channel */
+/*  TDLS_DONE_CH_SEN   : channel sensing and report candidate channel */
 /*  TDLS_OFF_CH                : first time set channel to off channel */
-/*  TDLS_BASE_CH               : go back tp the channel linked with AP when set base channel as target channel */
+/*  TDLS_BASE_CH       : go back tp the channel linked with AP when set */
+/*                       base channel as target channel */
 /*  TDLS_P_OFF_CH      : periodically go to off channel */
 /*  TDLS_P_BASE_CH     : periodically go back to base channel */
 /*  TDLS_RS_RCR                : restore RCR */