Commit b1cc16b8 authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 0e90b31f
...@@ -1388,6 +1388,6 @@ struct hci_inquiry_req { ...@@ -1388,6 +1388,6 @@ struct hci_inquiry_req {
}; };
#define IREQ_CACHE_FLUSH 0x0001 #define IREQ_CACHE_FLUSH 0x0001
extern int enable_hs; extern bool enable_hs;
#endif /* __HCI_H */ #endif /* __HCI_H */
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#define AUTO_OFF_TIMEOUT 2000 #define AUTO_OFF_TIMEOUT 2000
int enable_hs; bool enable_hs;
static void hci_rx_work(struct work_struct *work); static void hci_rx_work(struct work_struct *work);
static void hci_cmd_work(struct work_struct *work); static void hci_cmd_work(struct work_struct *work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment