Bluetooth: Refactor L2CAP channel allocation