commit | ceff86af56e09469d21732c16fd27a7337983c48 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Thu Nov 19 16:16:41 2015 +0100 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sun Nov 22 16:00:16 2015 +0300 |
tree | 86aed6f06e699f72507270d42aa5c4cc72eae713 | |
parent | e9d63767258753f28920d954712806a061b69547 [diff] |
Bluetooth: Add instance range check for Add Advertising command The instance range check for Add Advertising command is missing. If the provided instance is out of range an Invalid Parameters error should be returned. At the moment, the generic Failed error is returned. This extra check ensures that clear error messages are returned. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>