diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-04-25 05:45:32 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-04-25 06:21:28 -0400 |
commit | 7fd127508c4723763f2342c0e9abe1fe6fe8c706 (patch) | |
tree | 6a549edb75bec361b7f43503fc8227d2dbc94acd /net/bluetooth | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (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')
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
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); |