Bluetooth: L2CAP: Introduce proper defines for PSM ranges
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 26 Jan 2016 22:19:09 +0000 (17:19 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Jan 2016 10:47:24 +0000 (11:47 +0100)
commit114f9f1e038eb23935c20fb54f49f07caaa0546d
tree3a2e394307179542ebeefbe8979247885e020198
parentd10d34aa7c49e75146fc7149363286348e75e530
Bluetooth: L2CAP: Introduce proper defines for PSM ranges

Having proper defines makes the code a bit readable, it also avoids
duplicating hard-coded values since these are also needed when
auto-allocating PSM values (in a subsequent patch).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_sock.c