Commit da06f7db authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: vt6656: iwctl: remove unneeded scope block in iwctl_siwessid()

Reduce indentation by removing completely redundant scope block in the
iwctl_siwessid() function.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1a6dd0da
...@@ -748,15 +748,13 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info, ...@@ -748,15 +748,13 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
//so here need not associate?? //so here need not associate??
if(pDevice->bWPASuppWextEnabled == TRUE) { if(pDevice->bWPASuppWextEnabled == TRUE) {
/*******search if in hidden ssid mode ****/ /*******search if in hidden ssid mode ****/
{
PKnownBSS pCurr = NULL; PKnownBSS pCurr = NULL;
BYTE abyTmpDesireSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1]; BYTE abyTmpDesireSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
unsigned ii; unsigned ii;
unsigned uSameBssidNum = 0; unsigned uSameBssidNum = 0;
memcpy(abyTmpDesireSSID,pMgmt->abyDesireSSID,sizeof(abyTmpDesireSSID)); memcpy(abyTmpDesireSSID,pMgmt->abyDesireSSID,sizeof(abyTmpDesireSSID));
pCurr = BSSpSearchBSSList(pDevice, pCurr = BSSpSearchBSSList(pDevice, NULL,
NULL,
abyTmpDesireSSID, abyTmpDesireSSID,
pDevice->eConfigPHYMode pDevice->eConfigPHYMode
); );
...@@ -793,7 +791,6 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info, ...@@ -793,7 +791,6 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
pMgmt->abyDesireSSID); pMgmt->abyDesireSSID);
} }
} }
}
return 0; return 0;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment