}
struct cmd_lookup {
- u8 val;
struct sock *sk;
struct hci_dev *hdev;
};
int mgmt_powered(struct hci_dev *hdev, u8 powered)
{
- struct cmd_lookup match = { powered, NULL, hdev };
+ struct cmd_lookup match = { NULL, hdev };
__le32 ev;
int ret;
int mgmt_discoverable(struct hci_dev *hdev, u8 discoverable)
{
- struct cmd_lookup match = { discoverable, NULL, hdev };
+ struct cmd_lookup match = { NULL, hdev };
__le32 ev;
int ret;
int mgmt_connectable(struct hci_dev *hdev, u8 connectable)
{
__le32 ev;
- struct cmd_lookup match = { connectable, NULL, hdev };
+ struct cmd_lookup match = { NULL, hdev };
int ret;
mgmt_pending_foreach(MGMT_OP_SET_CONNECTABLE, hdev, settings_rsp,