Bluetooth: L2CAP: Fix auto-allocating LE PSM values
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 26 Jan 2016 22:19:10 +0000 (17:19 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Jan 2016 10:47:24 +0000 (11:47 +0100)
commit92594a51120ebc6c2f556204fc73568c8f7cb0f4
treee45cbb4efa38166fe6aa38359ccf78ae4959c7f2
parent114f9f1e038eb23935c20fb54f49f07caaa0546d
Bluetooth: L2CAP: Fix auto-allocating LE PSM values

The LE dynamic PSM range is different from BR/EDR (0x0080 - 0x00ff)
and doesn't have requirements relating to parity, so separate checks
are needed.

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