NFC: llcp: Use socket specific link parameters before the local ones
If the socket link options are set, use them before the local one. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -865,6 +865,8 @@ static void nfc_llcp_recv_connect(struct nfc_llcp_local *local,
|
||||
new_sock = nfc_llcp_sock(new_sk);
|
||||
new_sock->dev = local->dev;
|
||||
new_sock->local = nfc_llcp_local_get(local);
|
||||
new_sock->rw = sock->rw;
|
||||
new_sock->miux = sock->miux;
|
||||
new_sock->remote_miu = local->remote_miu;
|
||||
new_sock->nfc_protocol = sock->nfc_protocol;
|
||||
new_sock->dsap = ssap;
|
||||
|
Reference in New Issue
Block a user