[PATCH 4/9] staging: csr: Add space around equal sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Added space around equal sign when necessary to resolve
errors generated by checkpatch.pl and meet kernel coding
standards in sme_userspace.c

Signed-off-by: Lisa Nguyen <lisa@xxxxxxxxxxxxxxx>
---
 drivers/staging/csr/sme_userspace.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/csr/sme_userspace.c b/drivers/staging/csr/sme_userspace.c
index 9f79ac6..601ae98 100644
--- a/drivers/staging/csr/sme_userspace.c
+++ b/drivers/staging/csr/sme_userspace.c
@@ -138,7 +138,7 @@ uf_sme_deinit(unifi_priv_t *priv)
     /* Remove all the Peer database, before going down */
     for (i = 0; i < CSR_WIFI_NUM_INTERFACES; i++) {
 	    down(&priv->ba_mutex);
-	    for (ba_session_idx=0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_RX; ba_session_idx++){
+	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_RX; ba_session_idx++){
 		    ba_session_rx = priv->interfacePriv[i]->ba_session_rx[ba_session_idx];
 		    if (ba_session_rx) {
 			    blockack_session_stop(priv, i,
@@ -148,7 +148,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 		    }
 	    }
 
-	    for (ba_session_idx=0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_TX; ba_session_idx++){
+	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_TX; ba_session_idx++){
 		    ba_session_tx = priv->interfacePriv[i]->ba_session_tx[ba_session_idx];
 		    if (ba_session_tx) {
 			    blockack_session_stop(priv, i,
@@ -163,7 +163,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 
 	    if (interfacePriv){
 		    for (j = 0; j < UNIFI_MAX_CONNECTIONS; j++) {
-			    if ((staInfo=interfacePriv->staInfo[j]) != NULL) {
+			    if ((staInfo = interfacePriv->staInfo[j]) != NULL) {
 				    /* Clear the STA activity parameters before freeing station Record */
 				    unifi_trace(priv, UDBG1, "uf_sme_deinit: Canceling work queue for STA with AID: %d\n", staInfo->aid);
 				    cancel_work_sync(&staInfo->send_disconnected_ind_task);
-- 
1.8.1.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux