aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/hci_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 2d75ffb42f7d..2ab78bfc108e 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -795,6 +795,7 @@ static int hci_dev_do_close(struct hci_dev *hdev)
795 hdev->flags = 0; 795 hdev->flags = 0;
796 796
797 memset(hdev->eir, 0, sizeof(hdev->eir)); 797 memset(hdev->eir, 0, sizeof(hdev->eir));
798 memset(hdev->dev_class, 0, sizeof(hdev->dev_class));
798 799
799 hci_req_unlock(hdev); 800 hci_req_unlock(hdev);
800 801