summaryrefslogtreecommitdiffstats
path: root/lib/rational.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-10-02 15:45:22 +0300
committerMarcel Holtmann <marcel@holtmann.org>2013-10-02 05:52:51 -0700
commite6fe798652bfdcdde32a33c2758853e1a8f0c759 (patch)
treebb2445231b3dbc440d28e62700cc1e82a2aec1f3 /lib/rational.c
parentd13eafce2c892d57f1eb243e43dfe48b4626006d (diff)
downloadlinux-e6fe798652bfdcdde32a33c2758853e1a8f0c759.tar.gz
linux-e6fe798652bfdcdde32a33c2758853e1a8f0c759.tar.bz2
linux-e6fe798652bfdcdde32a33c2758853e1a8f0c759.zip
Bluetooth: Fix REJECTED vs NOT_SUPPORTED mgmt responses
The REJECTED management response should mainly be used when the adapter is in a state where we cannot accept some command or a specific parameter value. The NOT_SUPPORTED response in turn means that the adapter really cannot support the command or parameter value. This patch fixes this distinction and adds two helper functions to easily get the appropriate LE or BR/EDR related status response. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions