Skip to content

Commit 70d45d4

Browse files
ethereal-2kgregkh
authored andcommitted
staging: rtl8723bs: wrap long comments in rtw_ap.c
This patch fixes instances of comment lines in rtw_ap.c that exceeded the recommended 80–100 character limit. The affected comments were reflowed to span multiple lines, each starting with " * " as per kernel coding style guidelines. These are coding style cleanups only. No functional changes. Signed-off-by: Rohan Tripathi <trohan2000@gmail.com> Link: https://lore.kernel.org/r/20251007091303.491115-6-trohan2000@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9aa392c commit 70d45d4

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_ap.c

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,12 @@ void start_bss_network(struct adapter *padapter)
655655
cur_bwmode = CHANNEL_WIDTH_20;
656656
cur_ch_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE;
657657

658-
/* check if there is wps ie, */
659-
/* if there is wpsie in beacon, the hostapd will update beacon twice when stating hostapd, */
660-
/* and at first time the security ie (RSN/WPA IE) will not include in beacon. */
658+
/*
659+
* check if there is wps ie,
660+
* if there is wpsie in beacon,
661+
* the hostapd will update beacon twice when stating hostapd,
662+
* and at first time the security ie (RSN/WPA IE) will not include in beacon.
663+
*/
661664
if (!rtw_get_wps_ie(pnetwork->ies + _FIXED_IE_LENGTH_,
662665
pnetwork->ie_length - _FIXED_IE_LENGTH_, NULL, NULL))
663666
pmlmeext->bstart_bss = true;
@@ -835,7 +838,8 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
835838
memcpy(pbss_network->mac_address, myid(&padapter->eeprompriv), ETH_ALEN);
836839

837840
/* beacon interval */
838-
p = rtw_get_beacon_interval_from_ie(ie);/* ie + 8; 8: TimeStamp, 2: Beacon Interval 2:Capability */
841+
/* ie + 8; 8: TimeStamp, 2: Beacon Interval 2:Capability */
842+
p = rtw_get_beacon_interval_from_ie(ie);
839843
/* pbss_network->configuration.beacon_period = le16_to_cpu(*(unsigned short*)p); */
840844
pbss_network->configuration.beacon_period = get_unaligned_le16(p);
841845

@@ -1114,7 +1118,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
11141118
/* update AP's sta info */
11151119
update_ap_info(padapter, psta);
11161120

1117-
psta->state |= WIFI_AP_STATE; /* Aries, add, fix bug of flush_cam_entry at STOP AP mode , 0724 */
1121+
psta->state |= WIFI_AP_STATE;
11181122
rtw_indicate_connect(padapter);
11191123

11201124
pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */

0 commit comments

Comments
 (0)