diff options
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index fdcc9742bb00..d1d9b8c3a1b0 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -962,7 +962,7 @@ static int pin_code_reply(struct sock *sk, unsigned char *data, u16 len) | |||
962 | 962 | ||
963 | hdev = hci_dev_get(dev_id); | 963 | hdev = hci_dev_get(dev_id); |
964 | if (!hdev) | 964 | if (!hdev) |
965 | return cmd_status(sk, MGMT_OP_DISCONNECT, ENODEV); | 965 | return cmd_status(sk, MGMT_OP_PIN_CODE_REPLY, ENODEV); |
966 | 966 | ||
967 | hci_dev_lock_bh(hdev); | 967 | hci_dev_lock_bh(hdev); |
968 | 968 | ||