NFC: llcp: Use localy stored remote_miu value if not set at socket level
authorThierry Escande <thierry.escande@linux.intel.com>
Tue, 2 Apr 2013 08:25:14 +0000 (10:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:28:58 +0000 (16:28 +0200)
commit66cbfa10f3bdbc86222598ac700c352da90e588f
treeff3ecc8fa3b1fbddf51e813efaefec40e430427e
parent098dafcfb4db0d3c08cffec88c87bbb2f4513f20
NFC: llcp: Use localy stored remote_miu value if not set at socket level

If remote_miu value is not set in the socket (i.e. connection-less socket) the
value stored in the local is used.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/commands.c
net/nfc/llcp/llcp.h
net/nfc/llcp/sock.c