From: Johan Hedberg Date: Fri, 11 Nov 2011 16:10:00 +0000 (+0200) Subject: Bluetooth: Create a unique mgmt error code hierarchy X-Git-Tag: v3.3-rc1~182^2~261^2~38^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca69b7957bf2e3bc0acc882b837a42617498ece1;p=pandora-kernel.git Bluetooth: Create a unique mgmt error code hierarchy The management protocol uses a single byte for error codes (aka command status). In some places this value is directly copied from HCI and in other a POSIX error number is used. This makes it impossible for user-space to uniquily decipher the meaning of an error. To solve this issue a new mgmt-specific set of error codes is added along with a conversion table for HCI status values. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed