#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/hci_mon.h>
-static bool enable_mgmt;
-
static atomic_t monitor_promisc = ATOMIC_INIT(0);
/* ----- HCI socket interface ----- */
break;
case HCI_CHANNEL_CONTROL:
- if (haddr.hci_dev != HCI_DEV_NONE || !enable_mgmt) {
+ if (haddr.hci_dev != HCI_DEV_NONE) {
err = -EINVAL;
goto done;
}
proto_unregister(&hci_sk_proto);
}
-
-module_param(enable_mgmt, bool, 0644);
-MODULE_PARM_DESC(enable_mgmt, "Enable Management interface");