staging: vt6655: break single line if statements
This fixes the "trailing statements should be on next line" checkpatch warning. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
941ead9adf
commit
a1613423cd
|
@ -934,8 +934,10 @@ bool CARDbRadioPowerOn(void *pDeviceHandler)
|
||||||
|
|
||||||
pr_debug("chester power on\n");
|
pr_debug("chester power on\n");
|
||||||
if (pDevice->bRadioControlOff == true) {
|
if (pDevice->bRadioControlOff == true) {
|
||||||
if (pDevice->bHWRadioOff == true) pr_debug("chester bHWRadioOff\n");
|
if (pDevice->bHWRadioOff == true)
|
||||||
if (pDevice->bRadioControlOff == true) pr_debug("chester bRadioControlOff\n");
|
pr_debug("chester bHWRadioOff\n");
|
||||||
|
if (pDevice->bRadioControlOff == true)
|
||||||
|
pr_debug("chester bRadioControlOff\n");
|
||||||
return false; }
|
return false; }
|
||||||
|
|
||||||
if (pDevice->bRadioOff == false) {
|
if (pDevice->bRadioOff == false) {
|
||||||
|
|
|
@ -388,7 +388,8 @@ device_set_options(PSDevice pDevice) {
|
||||||
pDevice->b11hEnable = (pDevice->sOpts.flags & DEVICE_FLAGS_80211h_MODE) ? 1 : 0;
|
pDevice->b11hEnable = (pDevice->sOpts.flags & DEVICE_FLAGS_80211h_MODE) ? 1 : 0;
|
||||||
pDevice->bDiversityRegCtlON = (pDevice->sOpts.flags & DEVICE_FLAGS_DiversityANT) ? 1 : 0;
|
pDevice->bDiversityRegCtlON = (pDevice->sOpts.flags & DEVICE_FLAGS_DiversityANT) ? 1 : 0;
|
||||||
pDevice->uConnectionRate = pDevice->sOpts.data_rate;
|
pDevice->uConnectionRate = pDevice->sOpts.data_rate;
|
||||||
if (pDevice->uConnectionRate < RATE_AUTO) pDevice->bFixRate = true;
|
if (pDevice->uConnectionRate < RATE_AUTO)
|
||||||
|
pDevice->bFixRate = true;
|
||||||
pDevice->byBBType = pDevice->sOpts.bbp_type;
|
pDevice->byBBType = pDevice->sOpts.bbp_type;
|
||||||
pDevice->byPacketType = pDevice->byBBType;
|
pDevice->byPacketType = pDevice->byBBType;
|
||||||
|
|
||||||
|
@ -2905,7 +2906,8 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
|
||||||
char abyKey[WLAN_WEP232_KEYLEN];
|
char abyKey[WLAN_WEP232_KEYLEN];
|
||||||
|
|
||||||
rc = iwctl_giwencode(dev, NULL, &(wrq->u.encoding), abyKey);
|
rc = iwctl_giwencode(dev, NULL, &(wrq->u.encoding), abyKey);
|
||||||
if (rc != 0) break;
|
if (rc != 0)
|
||||||
|
break;
|
||||||
if (wrq->u.encoding.pointer) {
|
if (wrq->u.encoding.pointer) {
|
||||||
if (copy_to_user(wrq->u.encoding.pointer,
|
if (copy_to_user(wrq->u.encoding.pointer,
|
||||||
abyKey,
|
abyKey,
|
||||||
|
|
Loading…
Reference in a new issue