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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user