Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fc4a129 authored by Christophe Ricard's avatar Christophe Ricard Committed by Samuel Ortiz
Browse files

nfc: Reduce nfc_evt_transaction params length to 0



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: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 0b040964
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -157,7 +157,7 @@ struct nfc_evt_transaction {
	u32 aid_len;
	u32 aid_len;
	u8 aid[NFC_MAX_AID_LENGTH];
	u8 aid[NFC_MAX_AID_LENGTH];
	u8 params_len;
	u8 params_len;
	u8 params[NFC_MAX_PARAMS_LENGTH];
	u8 params[0];
} __packed;
} __packed;


struct nfc_genl_data {
struct nfc_genl_data {