diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 6fc7c4708f3e1fa6336a434ef8c63d072e262d5a..c4ac2849d9c2a195c2b65fbda6d9855253b0d5b9 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c @@ -648,7 +648,7 @@ static u8 smp_cmd_pairing_rsp(struct l2cap_conn *conn, struct sk_buff *skb) auth |= (req->auth_req | rsp->auth_req) & SMP_AUTH_MITM; - ret = tk_request(conn, 0, auth, rsp->io_capability, req->io_capability); + ret = tk_request(conn, 0, auth, req->io_capability, rsp->io_capability); if (ret) return SMP_UNSPECIFIED;