staging: wilc1000: txq_thread_started: replaces a semaphore with a completion
authorLeo Kim <leo.kim@atmel.com>
Fri, 1 Apr 2016 08:44:15 +0000 (17:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:58:42 +0000 (21:58 -0700)
commit11a54b3f9932efb7d2c07350834bb37ea0ba7cf9
tree91beeeb934a4a332d57bd120123c6e13e9e2fe03
parent01c7cee913e431e88159c70dae330dd40aa72677
staging: wilc1000: txq_thread_started: replaces a semaphore with a completion

This patch replaces a semaphore(txq_thread_started) with a completion.
Struct semaphore txq_thread_started is used to signal completion of txq thread.
It is better to use completion than semaphore for this case.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h