Staging: rtl8712: rtl871x_ioctl_set.c: Coding style warnings fix for block comments
PATCH 1/1 Staging: rtl8712: rtl871x_ioctl_set.c: Coding style warnings fix for block comments
This patch is to the rtl871x_ioctl_set.c file that fixes up following warning reported by checkpatch.pl :
-Block comments use a trailing */ on a separate line
Signed-off-by Punit Vara <[email protected]>
--- drivers/staging/rtl8712/rtl871x_ioctl_set.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/staging/rtl8712/rtl871x_ioctl_set.c +8 -4
@@ -146,7 +146,8 @@ u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid) ETH_ALEN)) { if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) goto _Abort_Set_BSSID; /* driver is in - * WIFI_ADHOC_MASTER_STATE */ + * WIFI_ADHOC_MASTER_STATE + */ } else {r8712_disassoc_cmd (padapter);if (check_fwstate (pmlmepriv, _FW_LINKED) == true)
@@ -209,7 +210,8 @@ void r8712_set_802_11_ssid(struct _adapter *padapter, } }else goto _Abort_Set_SSID;/* driver is in -* WIFI_ADHOC_MASTER_STATE */ +* WIFI_ADHOC_MASTER_STATE +*/ } }else {r8712_disassoc_cmd (padapter);
@@ -259,12 +261,14 @@ void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter, (*pold_state == Ndis802_11IBSS)) {/* will clr Linked_state before this function, * we must have checked whether issue dis-assoc_cmd or -* not */ +* not +*/ r8712_ind_disconnect (padapter); } *pold_state = networktype;/* clear WIFI_STATION_STATE; WIFI_AP_STATE; WIFI_ADHOC_STATE; -* WIFI_ADHOC_MASTER_STATE */ +* WIFI_ADHOC_MASTER_STATE +*/ _clr_fwstate_ (pmlmepriv,WIFI_STATION_STATE |WIFI_AP_STATE |WIFI_ADHOC_STATE |WIFI_ADHOC_MASTER_STATE );switch (networktype) {
Signature · 1 line
2.5.2