From 1b34fd390c340b0554dcda9552f82d77dff8ed23 Mon Sep 17 00:00:00 2001 From: Matthias Kaehlcke Date: Mon, 5 Nov 2007 09:41:01 +0100 Subject: Prism54: Convert mgmt_sem to the mutex API Signed-off-by: Matthias Kaehlcke Signed-off-by: John W. Linville --- drivers/net/wireless/prism54/islpci_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/wireless/prism54/islpci_dev.c') 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) init_waitqueue_head(&priv->reset_done); /* init the queue read locks, process wait counter */ - sema_init(&priv->mgmt_sem, 1); + mutex_init(&priv->mgmt_lock); priv->mgmt_received = NULL; init_waitqueue_head(&priv->mgmt_wqueue); sema_init(&priv->stats_sem, 1); -- cgit v1.2.1