prism54: Convert stats_sem in a mutex
The semaphore stats_sem is used as mutex, convert it to the mutex API Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Acked-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
6f865c0ab9
commit
f8139218b3
@@ -88,7 +88,7 @@ typedef struct {
|
||||
|
||||
/* Take care of the wireless stats */
|
||||
struct work_struct stats_work;
|
||||
struct semaphore stats_sem;
|
||||
struct mutex stats_lock;
|
||||
/* remember when we last updated the stats */
|
||||
unsigned long stats_timestamp;
|
||||
/* The first is accessed under semaphore locking.
|
||||
|
Reference in New Issue
Block a user