|
@@ -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;
|
|
|
|