public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [bug report] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN*
@ 2021-03-25  8:56 Dan Carpenter
  2021-03-25  9:56 ` [PATCH] staging: rtl8723bs: fix indentation broken by previous patch Fabio Aiuto
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dan Carpenter @ 2021-03-25  8:56 UTC (permalink / raw)
  To: fabioaiuto83; +Cc: linux-staging

Hello Fabio Aiuto,

The patch 65f183001f6e: "staging: rtl8723bs: remove unused code
blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN*" from
Mar 16, 2021, leads to the following static checker warning:

	drivers/staging/rtl8723bs/core/rtw_ap.c:911 start_bss_network()
	warn: inconsistent indenting

drivers/staging/rtl8723bs/core/rtw_ap.c
   904                  rtw_get_capability((struct wlan_bssid_ex *)pnetwork)
   905          );
   906  
   907          if (pmlmeext->bstart_bss) {
   908                  update_beacon(padapter, WLAN_EID_TIM, NULL, true);
   909  
   910          /* issue beacon frame */

The patch accidentally deleted these extra tab for this block.

   911          if (send_beacon(padapter) == _FAIL)
   912                  DBG_871X("issue_beacon, fail!\n");
   913  
   914          }
   915  
   916          /* update bc/mc sta_info */
   917          update_bmc_sta(padapter);
   918  

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-03-26 18:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-25  8:56 [bug report] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN* Dan Carpenter
2021-03-25  9:56 ` [PATCH] staging: rtl8723bs: fix indentation broken by previous patch Fabio Aiuto
2021-03-26  8:24 ` [bug report] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN* Fabio Aiuto
2021-03-26 11:03   ` Dan Carpenter
2021-03-26  9:17 ` [PATCH] staging: rtl8723bs: fix indentation broken by previous patch Fabio Aiuto
2021-03-26 14:06   ` Greg KH
2021-03-26 15:52     ` [PATCH] Fixes: 65f183001f6e (staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_INTERRUPT_BASED_TXBCN*) Fabio Aiuto
2021-03-26 16:20       ` Greg KH
2021-03-26 17:43         ` Fabio Aiuto
2021-03-26 17:57           ` Fabio Aiuto
2021-03-26 18:06         ` [PATCH] staging: rtl8723bs: fix broken indentation Fabio Aiuto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox