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>
This commit is contained in:
committed by
David S. Miller
parent
1e3428e9e3
commit
1b34fd390c
@@ -26,6 +26,7 @@
|
||||
#include <linux/wireless.h>
|
||||
#include <net/iw_handler.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include "isl_38xx.h"
|
||||
#include "isl_oid.h"
|
||||
@@ -164,7 +165,7 @@ typedef struct {
|
||||
wait_queue_head_t reset_done;
|
||||
|
||||
/* used by islpci_mgt_transaction */
|
||||
struct semaphore mgmt_sem; /* serialize access to mailbox and wqueue */
|
||||
struct mutex mgmt_lock; /* serialize access to mailbox and wqueue */
|
||||
struct islpci_mgmtframe *mgmt_received; /* mbox for incoming frame */
|
||||
wait_queue_head_t mgmt_wqueue; /* waitqueue for mbox */
|
||||
|
||||
|
Reference in New Issue
Block a user