Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290958
b: refs/heads/master
c: 76a7f3a
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hedberg committed Feb 17, 2012
1 parent 4c4c823 commit 6dc7dc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ddb6e0f3f7aa265c905b947e9ac4ab9562e52f2
refs/heads/master: 76a7f3a40c2bfbdb5f2b23ac780fa4e4f22e8659
7 changes: 3 additions & 4 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2561,7 +2561,6 @@ int mgmt_index_removed(struct hci_dev *hdev)
}

struct cmd_lookup {
u8 val;
struct sock *sk;
struct hci_dev *hdev;
};
Expand All @@ -2584,7 +2583,7 @@ static void settings_rsp(struct pending_cmd *cmd, void *data)

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;

Expand All @@ -2608,7 +2607,7 @@ int mgmt_powered(struct hci_dev *hdev, u8 powered)

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;

Expand All @@ -2627,7 +2626,7 @@ int mgmt_discoverable(struct hci_dev *hdev, u8 discoverable)
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,
Expand Down

0 comments on commit 6dc7dc5

Please sign in to comment.