Bluetooth: hci_persistent_key should return bool
authorVishal Agarwal <vishal.agarwal@stericsson.com>
Fri, 13 Apr 2012 12:13:22 +0000 (17:13 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 13:31:28 +0000 (18:31 +0530)
commit90ad601f451e9460799d2023ebe72caf9639e2f7
tree291e684fe487fce655f2be07886c8ee3bb8cec48
parent5977141452aac8cad96ba7241715d6e335822ec4
Bluetooth: hci_persistent_key should return bool

This patch changes the return type of function hci_persistent_key
from int to bool because it makes more sense to return information
whether a key is persistent or not as a bool.

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