Bluetooth: hci_persistent_key should return bool
authorVishal Agarwal <vishal.agarwal@stericsson.com>
Fri, 13 Apr 2012 12:13:22 +0000 (17:43 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Apr 2012 09:57:40 +0000 (12:57 +0300)
commit745c0ce35f904aeff8e1ea325c259a14a00ff1b7
treee1d05d006621b7cfd1009265ea2afe73b5cc2149
parent87522a433ba6886b5ccbb497e0a7cb8097def64e
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