Commit e435ef16 authored by Simon Schuster's avatar Simon Schuster Committed by Greg Kroah-Hartman
Browse files

Staging: vt6656: Correct operator coding style



Adds spaces around operators (like &&, ||, !=, +, ...) and removes
spaces before postfix increment and decrement operators. Parentheses
around return values are removed, too.

Signed-off-by: default avatarSebastian Rachuj <sebastian.rachuj@studium.uni-erlangen.de>
Signed-off-by: default avatarSimon Schuster <linux@rationality.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 13a36fe9
Loading
Loading
Loading
Loading
+32 −32
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ PKnownBSS BSSpSearchBSSList(struct vnt_private *pDevice,
								((pMgmt->eConfigMode == WMAC_CONFIG_ESS_STA) && WLAN_GET_CAP_INFO_ESS(pCurrBSS->wCapInfo))
								) {
								pCurrBSS->bSelected = true;
								return(pCurrBSS);
								return pCurrBSS;
							}
						}
					} else {
@@ -143,7 +143,7 @@ PKnownBSS BSSpSearchBSSList(struct vnt_private *pDevice,
							((pMgmt->eConfigMode == WMAC_CONFIG_ESS_STA) && WLAN_GET_CAP_INFO_ESS(pCurrBSS->wCapInfo))
							) {
							pCurrBSS->bSelected = true;
							return(pCurrBSS);
							return pCurrBSS;
						}
					}
				}
@@ -214,10 +214,10 @@ PKnownBSS BSSpSearchBSSList(struct vnt_private *pDevice,
				memcpy(pbyDesireSSID, pCurrBSS->abySSID,WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1) ;
			}

			return(pSelect);
			return pSelect;
		}
	}
	return(NULL);
	return NULL;

}