diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-02-15 14:57:07 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:17 -0500 |
commit | f948db5de53ec49ede377df30eed0642cc213055 (patch) | |
tree | abe6fda51314108c9e78c6189dcbc9eb9d157d5b /drivers/net/wireless/prism54/islpci_dev.h | |
parent | f8139218b32e9a68fc6779fa0ce45c5078c23c8a (diff) |
prism54: Convert wpa_sem in a mutex
The semaphore wpa_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 85ddf89967af..8e55a5fcffae 100644 --- a/drivers/net/wireless/prism54/islpci_dev.h +++ b/drivers/net/wireless/prism54/islpci_dev.h | |||
@@ -178,7 +178,7 @@ typedef struct { | |||
178 | int wpa; /* WPA mode enabled */ | 178 | int wpa; /* WPA mode enabled */ |
179 | struct list_head bss_wpa_list; | 179 | struct list_head bss_wpa_list; |
180 | int num_bss_wpa; | 180 | int num_bss_wpa; |
181 | struct semaphore wpa_sem; | 181 | struct mutex wpa_lock; |
182 | u8 wpa_ie[MAX_WPA_IE_LEN]; | 182 | u8 wpa_ie[MAX_WPA_IE_LEN]; |
183 | size_t wpa_ie_len; | 183 | size_t wpa_ie_len; |
184 | 184 | ||