Bluetooth: Handle psm == 0 case inside l2cap_add_psm()
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 18 Apr 2011 22:36:44 +0000 (19:36 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 5 May 2011 16:47:41 +0000 (13:47 -0300)
commit73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a
treee4ec31e6f06d1e84ad4eff0f6ee2a5f7e004a1b8
parent9e4425fff9e0a0fb6a8c705777ed861f991f8747
Bluetooth: Handle psm == 0 case inside l2cap_add_psm()

When the user doesn't specify a psm we have the choose one for the
channel. Now we do this inside l2cap_add_psm().

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c