From: Mikel Astiz Date: Thu, 9 Aug 2012 07:52:28 +0000 (+0200) Subject: Bluetooth: Add more HCI error codes X-Git-Tag: v3.7-rc1~145^2~30^2~104^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cdcba7c6508502cddb07c84a4d14d8f624e8f168;p=platform%2Fkernel%2Flinux-3.10.git Bluetooth: Add more HCI error codes Add more HCI error codes as defined in the specification. Signed-off-by: Mikel Astiz Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 23cf413..0f28f70 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -302,8 +302,11 @@ enum { /* ---- HCI Error Codes ---- */ #define HCI_ERROR_AUTH_FAILURE 0x05 +#define HCI_ERROR_CONNECTION_TIMEOUT 0x08 #define HCI_ERROR_REJ_BAD_ADDR 0x0f #define HCI_ERROR_REMOTE_USER_TERM 0x13 +#define HCI_ERROR_REMOTE_LOW_RESOURCES 0x14 +#define HCI_ERROR_REMOTE_POWER_OFF 0x15 #define HCI_ERROR_LOCAL_HOST_TERM 0x16 #define HCI_ERROR_PAIRING_NOT_ALLOWED 0x18