From: Johan Hedberg Date: Wed, 2 Oct 2013 12:45:22 +0000 (+0300) Subject: Bluetooth: Fix REJECTED vs NOT_SUPPORTED mgmt responses X-Git-Tag: v3.13-rc1~105^2~225^2~24^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6fe798652bfdcdde32a33c2758853e1a8f0c759;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed