Skip to content

Commit 6dd994b

Browse files
committed
Bluetooth: hci_bcm4377: Fix msgid release
We are releasing a single msgid, so the order argument to bitmap_release_region must be zero. Fixes: 8a06127 ("Bluetooth: hci_bcm4377: Add new driver for BCM4377 PCIe boards") Cc: [email protected] Signed-off-by: Hector Martin <[email protected]>
1 parent 5dc7c9b commit 6dd994b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bluetooth/hci_bcm4377.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static void bcm4377_handle_ack(struct bcm4377_data *bcm4377,
720720
ring->events[msgid] = NULL;
721721
}
722722

723-
bitmap_release_region(ring->msgids, msgid, ring->n_entries);
723+
bitmap_release_region(ring->msgids, msgid, 0);
724724

725725
unlock:
726726
spin_unlock_irqrestore(&ring->lock, flags);

0 commit comments

Comments
 (0)