linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Outreachy kernel] [PATCH] Staging: rtl8188eu: Add space around operator
@ 2020-03-08 19:21 Shreeya Patel
  2020-03-08 19:31 ` Julia Lawall
  0 siblings, 1 reply; 8+ messages in thread
From: Shreeya Patel @ 2020-03-08 19:21 UTC (permalink / raw)
  To: Larry.Finger, gregkh, devel, linux-kernel, outreachy-kernel,
	sbrivio, daniel.baluta, nramas, hverkuil, shreeya.patel23498

Add space around & operator for improving the code
readability.

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c
index e764436e120f..8da955e8343b 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme.c
@@ -924,7 +924,7 @@ static void rtw_joinbss_update_network(struct adapter *padapter, struct wlan_net
 	/* update fw_state will clr _FW_UNDER_LINKING here indirectly */
 	switch (pnetwork->network.InfrastructureMode) {
 	case Ndis802_11Infrastructure:
-		if (pmlmepriv->fw_state&WIFI_UNDER_WPS)
+		if (pmlmepriv->fw_state & WIFI_UNDER_WPS)
 			pmlmepriv->fw_state = WIFI_STATION_STATE|WIFI_UNDER_WPS;
 		else
 			pmlmepriv->fw_state = WIFI_STATION_STATE;
-- 
2.17.1


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

end of thread, other threads:[~2020-03-08 20:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 19:21 [Outreachy kernel] [PATCH] Staging: rtl8188eu: Add space around operator Shreeya Patel
2020-03-08 19:31 ` Julia Lawall
2020-03-08 19:59   ` Joe Perches
2020-03-08 20:10     ` Shreeya Patel
2020-03-08 20:17       ` Julia Lawall
2020-03-08 20:40         ` Shreeya Patel
2020-03-08 20:19       ` Joe Perches
2020-03-08 20:33         ` Shreeya Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).