summaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp/llcp.h
diff options
context:
space:
mode:
authorThierry Escande2013-04-02 10:25:14 +0200
committerSamuel Ortiz2013-04-11 16:28:58 +0200
commit66cbfa10f3bdbc86222598ac700c352da90e588f (patch)
treeff3ecc8fa3b1fbddf51e813efaefec40e430427e /net/nfc/llcp/llcp.h
parentNFC: llcp: Aggregated frames support (diff)
downloadkernel-qcow2-linux-66cbfa10f3bdbc86222598ac700c352da90e588f.tar.gz
kernel-qcow2-linux-66cbfa10f3bdbc86222598ac700c352da90e588f.tar.xz
kernel-qcow2-linux-66cbfa10f3bdbc86222598ac700c352da90e588f.zip
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>
Diffstat (limited to 'net/nfc/llcp/llcp.h')
-rw-r--r--net/nfc/llcp/llcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/llcp/llcp.h b/net/nfc/llcp/llcp.h
index 6dfde1ed648f..3b2c67eb8efb 100644
--- a/net/nfc/llcp/llcp.h
+++ b/net/nfc/llcp/llcp.h
@@ -31,6 +31,7 @@ enum llcp_state {
#define LLCP_MAX_LTO 0xff
#define LLCP_MAX_RW 15
#define LLCP_MAX_MIUX 0x7ff
+#define LLCP_MAX_MIU (LLCP_MAX_MIUX + 128)
#define LLCP_WKS_NUM_SAP 16
#define LLCP_SDP_NUM_SAP 16