projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b04096
)
nfc: Reduce nfc_evt_transaction params length to 0
author
Christophe Ricard
<christophe.ricard@gmail.com>
Tue, 31 Mar 2015 06:02:19 +0000
(08:02 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 5 Apr 2015 22:18:29 +0000
(
00:18
+0200)
According to etsi 102 622 chapter 11.2.2.4 EVT_TRANSACTION,
the nfc_evt_transaction parameters can be 0 up to 255 byte long.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nfc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/nfc/nfc.h
b/include/net/nfc/nfc.h
index 73190e65d5c13aa7217cce910203f4bd5f63d385..7ac029c0754678d900bb1cb78dc20fee6ba859c1 100644
(file)
--- a/
include/net/nfc/nfc.h
+++ b/
include/net/nfc/nfc.h
@@
-157,7
+157,7
@@
struct nfc_evt_transaction {
u32 aid_len;
u8 aid[NFC_MAX_AID_LENGTH];
u8 params_len;
- u8 params[
NFC_MAX_PARAMS_LENGTH
];
+ u8 params[
0
];
} __packed;
struct nfc_genl_data {