]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
Bluetooth: Move index to common header in management interface
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 25 Feb 2011 18:05:48 +0000 (19:05 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 27 Feb 2011 19:56:41 +0000 (16:56 -0300)
commit4e51eae9cdda4bf096e73a4ebe23f8f96a17596a
treebcc268f23f386018b86ce7fe7094f59904e20b64
parent779cb85016587d9ffaea681c38691d5301a3fedc
Bluetooth: Move index to common header in management interface

Most mgmt commands and event are related to hci adapter. Moving index to
common header allow to easily use it in command status while reporting errors.
For those not related to adapter use MGMT_INDEX_NONE (0xFFFF) as index.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c