From f9dc1a8a70aac02711f74626175fc7b3b5b3416c Mon Sep 17 00:00:00 2001 From: Igor Bezukh Date: Wed, 16 Jul 2014 10:45:30 +0300 Subject: [PATCH] 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 --- drivers/staging/vt6655/card.c | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.34.1