summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-04-25 05:45:32 -0400
committerMatthew Wilcox <willy@linux.intel.com>2008-05-31 09:03:56 -0400
commit3dbc7b82db9ecd7d064cbbc461f369b965f62c68 (patch)
tree8007602965c352fbec4f7f3055ad4e06369a4ef9 /net/bluetooth/hci_core.c
parent1beee8dc8cf58e3f605bd7b34d7a39939be7d8d2 (diff)
Convert bluetooth's hci_core to mutexes
The hci_req_lock is used with mutex semantics, so convert it to a mutex. Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index aec6929f5c16..7c07cef47e1f 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -875,7 +875,7 @@ int hci_register_dev(struct hci_dev *hdev)
hdev->reassembly[i] = NULL;
init_waitqueue_head(&hdev->req_wait_q);
- init_MUTEX(&hdev->req_lock);
+ mutex_init(&hdev->req_lock);
inquiry_cache_init(hdev);