summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cisco
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-07-02 03:57:01 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-07-15 12:40:21 +0200
commitb28bd97c1c191ade3736b33f2b24e5b288b90ab4 (patch)
tree9c539e81e78ff5a153cc6bf9d27a8c300cf1429d /drivers/net/wireless/cisco
parentiwlegacy: remove redundant initialization of variable tid (diff)
downloadlinux-b28bd97c1c191ade3736b33f2b24e5b288b90ab4.tar.xz
linux-b28bd97c1c191ade3736b33f2b24e5b288b90ab4.zip
airo: use set_current_state macro
Use set_current_state macro instead of current->state = TASK_RUNNING. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200702015701.8606-1-vulab@iscas.ac.cn
Diffstat (limited to 'drivers/net/wireless/cisco')
-rw-r--r--drivers/net/wireless/cisco/airo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c
index 827bb6d74815..f0bcb67095f1 100644
--- a/drivers/net/wireless/cisco/airo.c
+++ b/drivers/net/wireless/cisco/airo.c
@@ -3113,7 +3113,7 @@ static int airo_thread(void *data) {
}
break;
}
- current->state = TASK_RUNNING;
+ __set_current_state(TASK_RUNNING);
remove_wait_queue(&ai->thr_wait, &wait);
locked = 1;
}