diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-02-15 19:56:48 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 20:37:16 (GMT) |
commit | 6f865c0ab9318cd4c357654e460cb4c9aaf23a92 (patch) | |
tree | ea5bedba8b046a1695ad88ad6b923bd2ce719060 /drivers/net/wireless/prism54/islpci_dev.h | |
parent | 5c05863d0346c025a712b57622efe7828b29758e (diff) | |
download | linux-fsl-qoriq-6f865c0ab9318cd4c357654e460cb4c9aaf23a92.tar.xz |
prism54: Convert acl->sem in a mutex
The semaphore acl->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 4e0182c..b03a2ab 100644 --- a/drivers/net/wireless/prism54/islpci_dev.h +++ b/drivers/net/wireless/prism54/islpci_dev.h @@ -55,7 +55,7 @@ struct islpci_acl { enum { MAC_POLICY_OPEN=0, MAC_POLICY_ACCEPT=1, MAC_POLICY_REJECT=2 } policy; struct list_head mac_list; /* a list of mac_entry */ int size; /* size of queue */ - struct semaphore sem; /* accessed in ioctls and trap_work */ + struct mutex lock; /* accessed in ioctls and trap_work */ }; struct islpci_membuf { |