aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54/islpci_dev.h
diff options
context:
space:
mode:
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>2007-11-05 03:41:01 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:32 -0500
commit1b34fd390c340b0554dcda9552f82d77dff8ed23 (patch)
tree87e34f7822dff2d085afd8101dc9b56c816372a3 /drivers/net/wireless/prism54/islpci_dev.h
parent1e3428e9e327a6e4163b3674b260dbd719f59839 (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.h')
-rw-r--r--drivers/net/wireless/prism54/islpci_dev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.h b/drivers/net/wireless/prism54/islpci_dev.h
index 736666da6c24..4e0182ce835b 100644
--- a/drivers/net/wireless/prism54/islpci_dev.h
+++ b/drivers/net/wireless/prism54/islpci_dev.h
@@ -26,6 +26,7 @@
26#include <linux/wireless.h> 26#include <linux/wireless.h>
27#include <net/iw_handler.h> 27#include <net/iw_handler.h>
28#include <linux/list.h> 28#include <linux/list.h>
29#include <linux/mutex.h>
29 30
30#include "isl_38xx.h" 31#include "isl_38xx.h"
31#include "isl_oid.h" 32#include "isl_oid.h"
@@ -164,7 +165,7 @@ typedef struct {
164 wait_queue_head_t reset_done; 165 wait_queue_head_t reset_done;
165 166
166 /* used by islpci_mgt_transaction */ 167 /* used by islpci_mgt_transaction */
167 struct semaphore mgmt_sem; /* serialize access to mailbox and wqueue */ 168 struct mutex mgmt_lock; /* serialize access to mailbox and wqueue */
168 struct islpci_mgmtframe *mgmt_received; /* mbox for incoming frame */ 169 struct islpci_mgmtframe *mgmt_received; /* mbox for incoming frame */
169 wait_queue_head_t mgmt_wqueue; /* waitqueue for mbox */ 170 wait_queue_head_t mgmt_wqueue; /* waitqueue for mbox */
170 171