diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-07-13 16:22:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 22:13:49 -0400 |
commit | 3afe5f6ca150f1a402543b32f8fe66f759c7d8ed (patch) | |
tree | 4a114cec76e9884f83f9917b96a583cbd3c3d94f | |
parent | eab6e193076c8469971c57488d301b16014adf91 (diff) |
staging/vt6656: cleanup coding style in vResetCommandTimer
the following fixes...
removed spaces at start of a line and used tabs
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index c9de9373b785..9d2caa819f47 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c | |||
@@ -1254,21 +1254,21 @@ static BOOL s_bClearBSSID_SCAN(void *hDeviceContext) | |||
1254 | //mike add:reset command timer | 1254 | //mike add:reset command timer |
1255 | void vResetCommandTimer(void *hDeviceContext) | 1255 | void vResetCommandTimer(void *hDeviceContext) |
1256 | { | 1256 | { |
1257 | PSDevice pDevice = (PSDevice)hDeviceContext; | 1257 | PSDevice pDevice = (PSDevice)hDeviceContext; |
1258 | 1258 | ||
1259 | //delete timer | 1259 | //delete timer |
1260 | del_timer(&pDevice->sTimerCommand); | 1260 | del_timer(&pDevice->sTimerCommand); |
1261 | //init timer | 1261 | //init timer |
1262 | init_timer(&pDevice->sTimerCommand); | 1262 | init_timer(&pDevice->sTimerCommand); |
1263 | pDevice->sTimerCommand.data = (unsigned long)pDevice; | 1263 | pDevice->sTimerCommand.data = (unsigned long)pDevice; |
1264 | pDevice->sTimerCommand.function = (TimerFunction)vRunCommand; | 1264 | pDevice->sTimerCommand.function = (TimerFunction)vRunCommand; |
1265 | pDevice->sTimerCommand.expires = RUN_AT(HZ); | 1265 | pDevice->sTimerCommand.expires = RUN_AT(HZ); |
1266 | pDevice->cbFreeCmdQueue = CMD_Q_SIZE; | 1266 | pDevice->cbFreeCmdQueue = CMD_Q_SIZE; |
1267 | pDevice->uCmdDequeueIdx = 0; | 1267 | pDevice->uCmdDequeueIdx = 0; |
1268 | pDevice->uCmdEnqueueIdx = 0; | 1268 | pDevice->uCmdEnqueueIdx = 0; |
1269 | pDevice->eCommandState = WLAN_CMD_IDLE; | 1269 | pDevice->eCommandState = WLAN_CMD_IDLE; |
1270 | pDevice->bCmdRunning = FALSE; | 1270 | pDevice->bCmdRunning = FALSE; |
1271 | pDevice->bCmdClear = FALSE; | 1271 | pDevice->bCmdClear = FALSE; |
1272 | } | 1272 | } |
1273 | 1273 | ||
1274 | void BSSvSecondTxData(void *hDeviceContext) | 1274 | void BSSvSecondTxData(void *hDeviceContext) |