diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 19:42:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 20:35:21 -0700 |
commit | 80e29c7a8045005e1a146d86aa4e4a8cce13688c (patch) | |
tree | 5b9b13c660eb5efce304fb7f66de525f77c6a62f /drivers/staging/wilc1000/host_interface.c | |
parent | bb7b1a76aad831d2c92998de928fdd8d987e00f8 (diff) | |
download | op-kernel-dev-80e29c7a8045005e1a146d86aa4e4a8cce13688c.zip op-kernel-dev-80e29c7a8045005e1a146d86aa4e4a8cce13688c.tar.gz |
staging: wilc1000: remove WILC_Sleep()
It was just a wrapper around usleep_range() so call that directly
instead and remove the now-empty file.
Cc: Johnny Kim <johnny.kim@atmel.com>
Cc: Rachel Kim <rachel.kim@atmel.com>
Cc: Dean Lee <dean.lee@atmel.com>
Cc: Chris Park <chris.park@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c364793..aee35d2 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -4339,7 +4339,7 @@ static int hostIFthread(void *pvArg) /*Re-Queue HIF message*/ if ((!g_wilc_initialized)) { PRINT_D(GENERIC_DBG, "--WAIT--"); - WILC_Sleep(200); + usleep_range(200 * 1000, 200 * 1000); WILC_MsgQueueSend(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg), NULL); continue; } @@ -4347,7 +4347,7 @@ static int hostIFthread(void *pvArg) if (strHostIFmsg.u16MsgId == HOST_IF_MSG_CONNECT && pstrWFIDrv->strWILC_UsrScanReq.pfUserScanResult != NULL) { PRINT_D(HOSTINF_DBG, "Requeue connect request till scan done received\n"); WILC_MsgQueueSend(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg), NULL); - WILC_Sleep(2); + usleep_range(2 * 1000, 2 * 1000); continue; } |