Bluetooth: mgmt: Add new error code for invalid index
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 2 Mar 2012 01:13:19 +0000 (03:13 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 2 Mar 2012 01:19:24 +0000 (03:19 +0200)
commit5f15903279143eb640f9ba1c0e72b52fe9e9e2a6
tree6eed1909e54f252f0ce46c0550c240a099a30e3e
parentd4f68526e438dbb7d194b08499a96c733131ad72
Bluetooth: mgmt: Add new error code for invalid index

The index is part of the command header and not its parameters so it
makes sense to distinguish this from the invalid parameters error.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c