X-Git-Url: http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=blobdiff_plain;f=net%2Fbluetooth%2Fhci_event.c;h=786b5de0bac42819ae3e207c942840a69f2c13da;hp=6c57fc71c7e2d0df7c75daf1054901cf7ed8eee6;hb=ffe8018c3424892c9590048fc36caa6c3e0c8a76;hpb=2fed94c032316d89422d4abfca2a882897489b94 diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 6c57fc71c7e2..786b5de0bac4 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -1049,6 +1049,8 @@ static inline void hci_auth_complete_evt(struct hci_dev *hdev, struct sk_buff *s if (conn) { if (!ev->status) conn->link_mode |= HCI_LM_AUTH; + else + conn->sec_level = BT_SECURITY_LOW; clear_bit(HCI_CONN_AUTH_PEND, &conn->pend);