Bluetooth: Assign the rfc, l2c ids based on array index

- Assign the rfcomm, l2cap ids based on array index so that
  rfcomm will hold the 1 to 30 as the id and l2cap slots
  will have the value from 31 to 38.

- With out this change, if rfcomm slot id is more than 512
  it will treated as the L2CAP slot id because of L2CAP_MASK
  that will lead to ANR.

CRs-Fixed: 790500
Change-Id: Id23f623fc0e6f7a2822e5081df50d7211f772ff8
7 files changed