Skip to content

Commit b59cba2

Browse files
Franziska Naepeltgregkh
authored andcommitted
staging: rtl8723bs: Fix indentation issues
Fix the following checkpatch indentation issues: - WARNING: suspect code indent for conditional statements (32, 48) - WARNING: suspect code indent for conditional statements (24, 24) - ERROR: code indent should use tabs where possible Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com> Link: https://lore.kernel.org/r/20230619180351.18925-1-franziska.naepelt@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 73bacec commit b59cba2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa
581581

582582
psecuritypriv->dot118021XGrpPrivacy = _WEP40_;
583583
if (param->u.crypt.key_len == 13)
584-
psecuritypriv->dot118021XGrpPrivacy = _WEP104_;
584+
psecuritypriv->dot118021XGrpPrivacy = _WEP104_;
585585

586586
} else if (strcmp(param->u.crypt.alg, "TKIP") == 0) {
587587
psecuritypriv->dot118021XGrpPrivacy = _TKIP_;
@@ -1305,7 +1305,7 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy
13051305
} else if (request->n_channels <= 4) {
13061306
for (j = request->n_channels - 1; j >= 0; j--)
13071307
for (i = 0; i < survey_times; i++)
1308-
memcpy(&ch[j*survey_times+i], &ch[j], sizeof(struct rtw_ieee80211_channel));
1308+
memcpy(&ch[j*survey_times+i], &ch[j], sizeof(struct rtw_ieee80211_channel));
13091309
_status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, ch, survey_times * request->n_channels);
13101310
} else {
13111311
_status = rtw_sitesurvey_cmd(padapter, ssid, RTW_SSID_SCAN_AMOUNT, NULL, 0);
@@ -2810,7 +2810,7 @@ int rtw_wdev_alloc(struct adapter *padapter, struct device *dev)
28102810
wdev->netdev = pnetdev;
28112811

28122812
wdev->iftype = NL80211_IFTYPE_STATION; /* will be init in rtw_hal_init() */
2813-
/* Must sync with _rtw_init_mlme_priv() */
2813+
/* Must sync with _rtw_init_mlme_priv() */
28142814
/* pmlmepriv->fw_state = WIFI_STATION_STATE */
28152815
padapter->rtw_wdev = wdev;
28162816
pnetdev->ieee80211_ptr = wdev;

0 commit comments

Comments
 (0)