From: root <root@ubuntu.(none)> This patch corrects Ctx:VxV errors. Signed-off-by: Sungju Huh <sjhuh@xxxxxxxxxxxxxxxxx> --- drivers/staging/csr/sme_blocking.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/csr/sme_blocking.c b/drivers/staging/csr/sme_blocking.c index 1da45d3..b246aeb 100644 --- a/drivers/staging/csr/sme_blocking.c +++ b/drivers/staging/csr/sme_blocking.c @@ -344,7 +344,7 @@ int sme_mgt_scan_full(unifi_priv_t *priv, } CsrWifiSmeScanFullReqSend(0, - specific_ssid->length?1:0, /* 0 or 1 SSIDS */ + specific_ssid->length ? 1 : 0, /* 0 or 1 SSIDS */ specific_ssid, bcastAddress, is_active, @@ -1344,7 +1344,7 @@ int sme_sys_suspend(unifi_priv_t *priv) } /* Suspend the SME, which MAY cause it to power down UniFi */ - CsrWifiRouterCtrlSuspendIndSend(priv->CSR_WIFI_SME_IFACEQUEUE,0, 0, priv->wol_suspend); + CsrWifiRouterCtrlSuspendIndSend(priv->CSR_WIFI_SME_IFACEQUEUE, 0, 0, priv->wol_suspend); r = sme_wait_for_reply(priv, UNIFI_SME_SYS_LONG_TIMEOUT); if (r) { /* No reply - forcibly power down in case the request wasn't processed */ @@ -1431,7 +1431,7 @@ int sme_sys_resume(unifi_priv_t *priv) return -EIO; } - CsrWifiRouterCtrlResumeIndSend(priv->CSR_WIFI_SME_IFACEQUEUE,0, priv->wol_suspend); + CsrWifiRouterCtrlResumeIndSend(priv->CSR_WIFI_SME_IFACEQUEUE, 0, priv->wol_suspend); r = sme_wait_for_reply(priv, UNIFI_SME_SYS_LONG_TIMEOUT); if (r) { @@ -1443,7 +1443,7 @@ int sme_sys_resume(unifi_priv_t *priv) } #ifdef CSR_SUPPORT_WEXT_AP -int sme_ap_stop(unifi_priv_t *priv,u16 interface_tag) +int sme_ap_stop(unifi_priv_t *priv, u16 interface_tag) { int r; @@ -1457,7 +1457,7 @@ int sme_ap_stop(unifi_priv_t *priv,u16 interface_tag) return -EIO; } - CsrWifiNmeApStopReqSend(0,interface_tag); + CsrWifiNmeApStopReqSend(0, interface_tag); r = sme_wait_for_reply(priv, UNIFI_SME_MGT_SHORT_TIMEOUT); if (r) { @@ -1471,12 +1471,12 @@ int sme_ap_stop(unifi_priv_t *priv,u16 interface_tag) } -int sme_ap_start(unifi_priv_t *priv,u16 interface_tag, +int sme_ap_start(unifi_priv_t *priv, u16 interface_tag, CsrWifiSmeApConfig_t * ap_config) { int r; CsrWifiSmeApP2pGoConfig p2p_go_param; - memset(&p2p_go_param,0,sizeof(CsrWifiSmeApP2pGoConfig)); + memset(&p2p_go_param, 0, sizeof(CsrWifiSmeApP2pGoConfig)); if (priv->smepriv == NULL) { unifi_error(priv, "sme_ap_start: invalid smepriv\n"); @@ -1488,10 +1488,10 @@ int sme_ap_start(unifi_priv_t *priv,u16 interface_tag, return -EIO; } - CsrWifiNmeApStartReqSend(0,interface_tag,CSR_WIFI_AP_TYPE_LEGACY,FALSE, - ap_config->ssid,1,ap_config->channel, - ap_config->credentials,ap_config->max_connections, - p2p_go_param,FALSE); + CsrWifiNmeApStartReqSend(0, interface_tag, CSR_WIFI_AP_TYPE_LEGACY, FALSE, + ap_config->ssid, 1, ap_config->channel, + ap_config->credentials, ap_config->max_connections, + p2p_go_param, FALSE); r = sme_wait_for_reply(priv, UNIFI_SME_MGT_SHORT_TIMEOUT); if (r) { @@ -1510,7 +1510,7 @@ int sme_ap_config(unifi_priv_t *priv, { int r; CsrWifiSmeApP2pGoConfig p2p_go_param; - memset(&p2p_go_param,0,sizeof(CsrWifiSmeApP2pGoConfig)); + memset(&p2p_go_param, 0, sizeof(CsrWifiSmeApP2pGoConfig)); if (priv->smepriv == NULL) { unifi_error(priv, "sme_ap_config: invalid smepriv\n"); @@ -1522,7 +1522,7 @@ int sme_ap_config(unifi_priv_t *priv, return -EIO; } - CsrWifiNmeApConfigSetReqSend(0,*group_security_config, + CsrWifiNmeApConfigSetReqSend(0, *group_security_config, *ap_mac_config); r = sme_wait_for_reply(priv, UNIFI_SME_MGT_SHORT_TIMEOUT); -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel