staging: brcm80211: use wait queues instead of semaphores in wl_cfg80211.c
authorArend van Spriel <arend@broadcom.com>
Fri, 12 Aug 2011 13:34:48 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:06:38 +0000 (13:06 -0700)
commit297658defcfea01e6c662ec34cd5e2cdacfe8a2e
tree9f154a10663278ec07a53ae4877fbba7ef6664e0
parent05e6468db5e5cb733b096a9ccd244fe2e148ac14
staging: brcm80211: use wait queues instead of semaphores in wl_cfg80211.c

In wl_cfg80211.c two semaphores were used to trigger a task to process
an event. The wait queues are better suited for that purpose. This also
removes checkpatch warning on sema_init() calls in this source file.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h