Bluetooth: Move scope of kernel parameter enable_hs
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 11 Nov 2011 15:02:14 +0000 (17:02 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 18:54:29 +0000 (16:54 -0200)
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
include/net/bluetooth/l2cap.h

index e284dd906b9e5a3c03dcdec572a893b4f15e4672..376c57420abee46cd465ed45e9ea1012dc26c60e 100644 (file)
@@ -1344,4 +1344,6 @@ struct hci_inquiry_req {
 };
 #define IREQ_CACHE_FLUSH 0x0001
 
+extern int enable_hs;
+
 #endif /* __HCI_H */
index 1e6fda4381309791b63e59f882f1ee69ba029a81..30719eb2e77cf737923e0d459a0b549eb015dae9 100644 (file)
@@ -792,7 +792,6 @@ static inline __u8 __ctrl_size(struct l2cap_chan *chan)
 }
 
 extern int disable_ertm;
-extern int enable_hs;
 
 int l2cap_init_sockets(void);
 void l2cap_cleanup_sockets(void);