X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fbluetooth%2Fhci_event.c;h=786b5de0bac42819ae3e207c942840a69f2c13da;hb=51893f88dd916efead5e24a212c907b2cd35e160;hp=6c57fc71c7e2d0df7c75daf1054901cf7ed8eee6;hpb=915a0b575fdb2376135ed9334b3ccb1eb51db622;p=mv-sheeva.git diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 6c57fc71c7e..786b5de0bac 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);