]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a9372d640cf00d158e40b405d4f145e3b11d3fe
tree3a2e394307179542ebeefbe8979247885e020198
parent83bc4d9bb7558391f9f4b54079d405b079ea11ba
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