diff options
| author | 2014-07-18 11:15:26 +0300 | |
|---|---|---|
| committer | 2014-07-18 11:11:38 +0200 | |
| commit | beb19e4c079d626bf0502fbb65bd7c9891a10c2e (patch) | |
| tree | e53da4ddea4887a8994aade8c415c6b3f976f8c8 /include | |
| parent | Bluetooth: Fix allowing initiating pairing when not pairable (diff) | |
Bluetooth: Use EOPNOTSUPP instead of ENOTSUPP
The EOPNOTSUPP and ENOTSUPP errors are very similar in meaning, but
ENOTSUPP is a fairly new addition to POSIX. Not all libc versions know
about the value the kernel uses for ENOTSUPP so it's better to use
EOPNOTSUPP to ensure understandable error messages.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
