mirror of https://gitee.com/openkylin/linux.git
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: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1a6dd0da0f
commit
da06f7dbdb
|
@ -748,15 +748,13 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
|
|||
//so here need not associate??
|
||||
if(pDevice->bWPASuppWextEnabled == TRUE) {
|
||||
/*******search if in hidden ssid mode ****/
|
||||
{
|
||||
PKnownBSS pCurr = NULL;
|
||||
BYTE abyTmpDesireSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
|
||||
unsigned ii;
|
||||
unsigned uSameBssidNum = 0;
|
||||
|
||||
memcpy(abyTmpDesireSSID,pMgmt->abyDesireSSID,sizeof(abyTmpDesireSSID));
|
||||
pCurr = BSSpSearchBSSList(pDevice,
|
||||
NULL,
|
||||
pCurr = BSSpSearchBSSList(pDevice, NULL,
|
||||
abyTmpDesireSSID,
|
||||
pDevice->eConfigPHYMode
|
||||
);
|
||||
|
@ -793,7 +791,6 @@ int iwctl_siwessid(struct net_device *dev, struct iw_request_info *info,
|
|||
pMgmt->abyDesireSSID);
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue