diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2007-11-05 03:41:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:32 -0500 |
commit | 1b34fd390c340b0554dcda9552f82d77dff8ed23 (patch) | |
tree | 87e34f7822dff2d085afd8101dc9b56c816372a3 /drivers/net/wireless/prism54/islpci_dev.c | |
parent | 1e3428e9e327a6e4163b3674b260dbd719f59839 (diff) |
Prism54: Convert mgmt_sem to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_dev.c')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c index 219dd651dc41..dbb538ccb4ec 100644 --- a/drivers/net/wireless/prism54/islpci_dev.c +++ b/drivers/net/wireless/prism54/islpci_dev.c | |||
@@ -861,7 +861,7 @@ islpci_setup(struct pci_dev *pdev) | |||
861 | init_waitqueue_head(&priv->reset_done); | 861 | init_waitqueue_head(&priv->reset_done); |
862 | 862 | ||
863 | /* init the queue read locks, process wait counter */ | 863 | /* init the queue read locks, process wait counter */ |
864 | sema_init(&priv->mgmt_sem, 1); | 864 | mutex_init(&priv->mgmt_lock); |
865 | priv->mgmt_received = NULL; | 865 | priv->mgmt_received = NULL; |
866 | init_waitqueue_head(&priv->mgmt_wqueue); | 866 | init_waitqueue_head(&priv->mgmt_wqueue); |
867 | sema_init(&priv->stats_sem, 1); | 867 | sema_init(&priv->stats_sem, 1); |