]> git.baikalelectronics.ru Git - kernel.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)
commit6ef8510e3392fc844e4a7d0b5f12812efa2705c6
treebcc268f23f386018b86ce7fe7094f59904e20b64
parent1e9b03b44255d7b88956872faa48e1d1bfe68bba
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