Bluetooth: Convert hdev->req_lock to a mutex

hdev->req_lock is used as mutex so make it a mutex.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Thomas Gleixner
2009-07-26 08:18:19 +00:00
committed by Marcel Holtmann
parent 5959809ded
commit a6a67efd70
2 changed files with 4 additions and 4 deletions

View File

@ -911,7 +911,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);