From: Igor Bezukh Date: Wed, 16 Jul 2014 07:45:30 +0000 (+0300) Subject: Staging: vt6655: fix missing blank line after variable declaration X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9dc1a8a70aac02711f74626175fc7b3b5b3416c;p=linux-beck.git Staging: vt6655: fix missing blank line after variable declaration Checkpatch fix - Add missing blank line after variable declaration Signed-off-by: Igor Bezukh Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index e21abd8ea787..0b2ca2f5dbff 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -351,6 +351,7 @@ s_vSetRSPINF(PSDevice pDevice, CARD_PHY_TYPE ePHYType, void *pvSupportRateIEs, v bool CARDbIsShortPreamble(void *pDeviceHandler) { PSDevice pDevice = (PSDevice) pDeviceHandler; + if (pDevice->byPreambleType == 0) return false; @@ -372,6 +373,7 @@ bool CARDbIsShortPreamble(void *pDeviceHandler) bool CARDbIsShorSlotTime(void *pDeviceHandler) { PSDevice pDevice = (PSDevice) pDeviceHandler; + return pDevice->bShortSlotTime; } @@ -929,6 +931,7 @@ bool CARDbRadioPowerOn(void *pDeviceHandler) { PSDevice pDevice = (PSDevice) pDeviceHandler; bool bResult = true; + printk("chester power on\n"); if (pDevice->bRadioControlOff == true) { if (pDevice->bHWRadioOff == true) printk("chester bHWRadioOff\n");