diff options
author | David S. Miller <davem@davemloft.net> | 2012-01-12 15:10:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-12 15:10:00 -0500 |
commit | 9ee6045f09a7875ebe55b9942b232a19076b157b (patch) | |
tree | 4c3924d35d99d413a95205ac21da8d369063234b /net/bluetooth/mgmt.c | |
parent | 3b09c84cb622ffbcdb5d541986b1eaf7d5812602 (diff) | |
parent | 1140afa862842ac3e56678693050760edc4ecde9 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 2540944d871f..bc8e59dda78e 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -291,7 +291,7 @@ static u32 get_current_settings(struct hci_dev *hdev) | |||
291 | if (!(hdev->features[4] & LMP_NO_BREDR)) | 291 | if (!(hdev->features[4] & LMP_NO_BREDR)) |
292 | settings |= MGMT_SETTING_BREDR; | 292 | settings |= MGMT_SETTING_BREDR; |
293 | 293 | ||
294 | if (hdev->extfeatures[0] & LMP_HOST_LE) | 294 | if (hdev->host_features[0] & LMP_HOST_LE) |
295 | settings |= MGMT_SETTING_LE; | 295 | settings |= MGMT_SETTING_LE; |
296 | 296 | ||
297 | if (test_bit(HCI_AUTH, &hdev->flags)) | 297 | if (test_bit(HCI_AUTH, &hdev->flags)) |
@@ -2756,7 +2756,7 @@ int mgmt_stop_discovery_failed(struct hci_dev *hdev, u8 status) | |||
2756 | if (!cmd) | 2756 | if (!cmd) |
2757 | return -ENOENT; | 2757 | return -ENOENT; |
2758 | 2758 | ||
2759 | err = cmd_status(cmd->sk, hdev->id, cmd->opcode, status); | 2759 | err = cmd_status(cmd->sk, hdev->id, cmd->opcode, mgmt_status(status)); |
2760 | mgmt_pending_remove(cmd); | 2760 | mgmt_pending_remove(cmd); |
2761 | 2761 | ||
2762 | return err; | 2762 | return err; |