diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-02-15 14:56:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:17 -0500 |
commit | f8139218b32e9a68fc6779fa0ce45c5078c23c8a (patch) | |
tree | a469cc72903dc998fce586e27fed863ea3c81449 /drivers/net/wireless/prism54/islpci_dev.h | |
parent | 6f865c0ab9318cd4c357654e460cb4c9aaf23a92 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_dev.h')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.h b/drivers/net/wireless/prism54/islpci_dev.h index b03a2ab0009b..85ddf89967af 100644 --- a/drivers/net/wireless/prism54/islpci_dev.h +++ b/drivers/net/wireless/prism54/islpci_dev.h | |||
@@ -88,7 +88,7 @@ typedef struct { | |||
88 | 88 | ||
89 | /* Take care of the wireless stats */ | 89 | /* Take care of the wireless stats */ |
90 | struct work_struct stats_work; | 90 | struct work_struct stats_work; |
91 | struct semaphore stats_sem; | 91 | struct mutex stats_lock; |
92 | /* remember when we last updated the stats */ | 92 | /* remember when we last updated the stats */ |
93 | unsigned long stats_timestamp; | 93 | unsigned long stats_timestamp; |
94 | /* The first is accessed under semaphore locking. | 94 | /* The first is accessed under semaphore locking. |