Message ID | 20211115085613.1924762-1-liu.yun@linux.dev |
---|---|
State | New |
Headers | show |
Series | bluetooth: fix uninitialized variables notify_evt | expand |
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 7d0db1ca1248..f898fa42a183 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -4445,7 +4445,7 @@ static void hci_sync_conn_complete_evt(struct hci_dev *hdev, { struct hci_ev_sync_conn_complete *ev = (void *) skb->data; struct hci_conn *conn; - unsigned int notify_evt; + unsigned int notify_evt = 0; BT_DBG("%s status 0x%2.2x", hdev->name, ev->status);