Re: [PATCH v2] Bluetooth: Create a unique mgmt error code hierarchy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

* johan.hedberg@xxxxxxxxx <johan.hedberg@xxxxxxxxx> [2011-11-11 18:10:00 +0200]:

> From: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> 
> 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 <johan.hedberg@xxxxxxxxx>
> ---
> v2: Use ARRAY_SIZE() instead of a custom NELEM()
> 
>  include/net/bluetooth/mgmt.h |   17 +++
>  net/bluetooth/mgmt.c         |  315 ++++++++++++++++++++++++++++++------------
>  2 files changed, 241 insertions(+), 91 deletions(-)

It doesn't apply anymore, please rebase.

	Gustavo
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux