summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-01-22 20:45:14 +0100
committerDavid S. Miller <davem@davemloft.net>2012-01-22 21:08:46 +0100
commitb1cc16b8e643096adb92bbcb76c6c4c564141c40 (patch)
treec82c5be4c43ab5c82cf9fad022a4c77df30e90cc /net
parentnet: introduce res_counter_charge_nofail() for socket allocations (diff)
downloadlinux-b1cc16b8e643096adb92bbcb76c6c4c564141c40.tar.xz
linux-b1cc16b8e643096adb92bbcb76c6c4c564141c40.zip
bluetooth: hci: Fix type of "enable_hs" to bool.
Fixes: net/bluetooth/hci_core.c: In function ‘__check_enable_hs’: net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default] Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 845da3ee56a0..9de93714213a 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -55,7 +55,7 @@
#define AUTO_OFF_TIMEOUT 2000
-int enable_hs;
+bool enable_hs;
static void hci_rx_work(struct work_struct *work);
static void hci_cmd_work(struct work_struct *work);