diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index c654c5880912..dfb4e1161c10 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -889,8 +889,6 @@ int smp_conn_security(struct hci_conn *hcon, __u8 sec_level) | |||
889 | if (!conn) | 889 | if (!conn) |
890 | return 1; | 890 | return 1; |
891 | 891 | ||
892 | smp = conn->smp_chan; | ||
893 | |||
894 | if (!test_bit(HCI_LE_ENABLED, &hcon->hdev->dev_flags)) | 892 | if (!test_bit(HCI_LE_ENABLED, &hcon->hdev->dev_flags)) |
895 | return 1; | 893 | return 1; |
896 | 894 | ||