commit | 4946096d43d1d02fb07cc80f82e1747b01571c41 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Oct 08 13:55:46 2013 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Dec 05 07:05:36 2013 -0800 |
tree | 0e18aaed28800e7c4e6ae8b591703742d7eac66a | |
parent | e77af7559238895ec5fd1706762e1c9f890dcc7e [diff] |
Bluetooth: Fix validating LE PSM values LE PSM values have different ranges than those for BR/EDR. The valid ranges for fixed, SIG assigned values is 0x0001-0x007f and for dynamic PSM values 0x0080-0x00ff. We need to ensure that bind() and connect() calls conform to these ranges when operating on LE CoC sockets. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>