struct host_if_drv *terminated_handle;
 bool g_obtainingIP;
 u8 P2P_LISTEN_STATE;
-static struct task_struct *HostIFthreadHandler;
+static struct task_struct *hif_thread_handler;
 static WILC_MsgQueueHandle gMsgQHostIF;
 static struct semaphore hSemHostIFthrdEnd;
 
                        PRINT_ER("Failed to creat MQ\n");
                        goto _fail_;
                }
-               HostIFthreadHandler = kthread_run(hostIFthread, NULL, "WILC_kthread");
-               if (IS_ERR(HostIFthreadHandler)) {
+
+               hif_thread_handler = kthread_run(hostIFthread, NULL, "WILC_kthread");
+
+               if (IS_ERR(hif_thread_handler)) {
                        PRINT_ER("Failed to creat Thread\n");
                        result = -EFAULT;
                        goto _fail_mq_;
        up(&hif_drv->gtOsCfgValuesSem);
        del_timer_sync(&hif_drv->hConnectTimer);
        del_timer_sync(&hif_drv->hScanTimer);
-       kthread_stop(HostIFthreadHandler);
+       kthread_stop(hif_thread_handler);
 _fail_mq_:
        wilc_mq_destroy(&gMsgQHostIF);
 _fail_: