OSDN Git Service

staging: rtl8723bs: fix broken indentation
authorFabio Aiuto <fabioaiuto83@gmail.com>
Fri, 26 Mar 2021 18:06:32 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Mar 2021 12:33:54 +0000 (14:33 +0200)
fix indentation broken by patch removing conditional
code blocks checked by unused
CONFIG_INTERRUPT_BASED_TXBCN family defines

Fixes: 65f183001f6e (staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN*)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/20210326180632.1859-1-fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c

index 3cd9c61..dc56477 100644 (file)
@@ -907,9 +907,9 @@ void start_bss_network(struct adapter *padapter, u8 *pbuf)
        if (pmlmeext->bstart_bss) {
                update_beacon(padapter, WLAN_EID_TIM, NULL, true);
 
-       /* issue beacon frame */
-       if (send_beacon(padapter) == _FAIL)
-               DBG_871X("issue_beacon, fail!\n");
+               /* issue beacon frame */
+               if (send_beacon(padapter) == _FAIL)
+                       DBG_871X("issue_beacon, fail!\n");
 
        }