diff options
-rw-r--r-- | net/bluetooth/mgmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index dd0bd4a55c8a..c363285c64a8 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -749,6 +749,9 @@ static void update_class(struct hci_request *req) | |||
749 | if (!hdev_is_powered(hdev)) | 749 | if (!hdev_is_powered(hdev)) |
750 | return; | 750 | return; |
751 | 751 | ||
752 | if (!test_bit(HCI_BREDR_ENABLED, &hdev->dev_flags)) | ||
753 | return; | ||
754 | |||
752 | if (test_bit(HCI_SERVICE_CACHE, &hdev->dev_flags)) | 755 | if (test_bit(HCI_SERVICE_CACHE, &hdev->dev_flags)) |
753 | return; | 756 | return; |
754 | 757 | ||