Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324473
b: refs/heads/master
c: f7523ab
h: refs/heads/master
i:
  324471: 5da47c9
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent 14afeaf commit 8bbd0fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cff9e59f65019428ba8f172dcc8af0154590de42
refs/heads/master: f7523ab6c0a7c9eefee2ab7fd0df48fca839b490
15 changes: 8 additions & 7 deletions trunk/drivers/staging/csr/bh.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,16 @@ int uf_start_thread(unifi_priv_t *priv,
*/
void uf_stop_thread(unifi_priv_t *priv, struct uf_thread *thread)
{
if (!thread->thread_task) {
unifi_notice(priv, "%s thread is already stopped\n", thread->name);
return;
}
if (!thread->thread_task) {
unifi_notice(priv, "%s thread is already stopped\n",
thread->name);
return;
}

unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name);
unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name);

kthread_stop(thread->thread_task);
thread->thread_task = NULL;
kthread_stop(thread->thread_task);
thread->thread_task = NULL;

} /* uf_stop_thread() */

Expand Down

0 comments on commit 8bbd0fb

Please sign in to comment.