Skip to content

Commit 137d469

Browse files
marcanjannau
authored andcommitted
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]> Reviewed-by: Sven Peter <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Sven Peter <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 7a4e0f0 commit 137d469

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
@@ -722,7 +722,7 @@ static void bcm4377_handle_ack(struct bcm4377_data *bcm4377,
722722
ring->events[msgid] = NULL;
723723
}
724724

725-
bitmap_release_region(ring->msgids, msgid, ring->n_entries);
725+
bitmap_release_region(ring->msgids, msgid, 0);
726726

727727
unlock:
728728
spin_unlock_irqrestore(&ring->lock, flags);

0 commit comments

Comments
 (0)