aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/mgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index ee57edbb13ec..6850a8b46c62 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -648,6 +648,7 @@ static int read_controller_info(struct sock *sk, u16 index)
648 memcpy(rp.dev_class, hdev->dev_class, 3); 648 memcpy(rp.dev_class, hdev->dev_class, 3);
649 649
650 memcpy(rp.name, hdev->dev_name, sizeof(hdev->dev_name)); 650 memcpy(rp.name, hdev->dev_name, sizeof(hdev->dev_name));
651 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name));
651 652
652 hci_dev_unlock(hdev); 653 hci_dev_unlock(hdev);
653 hci_dev_put(hdev); 654 hci_dev_put(hdev);