diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-03-31 08:02:18 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-04-06 00:18:20 +0200 |
commit | 0b040964a01ccfd880207ddc498e55e6c990a5d5 (patch) | |
tree | 10a2d2a2554211343a3a6c4a4d5616c0e41ca707 /include/net | |
parent | a8f686ec1041bd704748a2d919cea9652e8e943e (diff) | |
download | op-kernel-dev-0b040964a01ccfd880207ddc498e55e6c990a5d5.zip op-kernel-dev-0b040964a01ccfd880207ddc498e55e6c990a5d5.tar.gz |
nfc: hci: Add comment to explain NFC_HCI_MAX_PIPES
According to specification etsi 102 622 chapter 4.4 pipes identifier
is 7 bits long giving a 127 possible pipes value.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/nfc/hci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index ab672b5..020a814 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h @@ -83,6 +83,10 @@ struct nfc_hci_pipe { }; #define NFC_HCI_MAX_CUSTOM_GATES 50 +/* + * According to specification 102 622 chapter 4.4 Pipes, + * the pipe identifier is 7 bits long. + */ #define NFC_HCI_MAX_PIPES 127 struct nfc_hci_init_data { u8 gate_count; |