Commit 52f2eaee authored by Thierry Escande's avatar Thierry Escande Committed by Samuel Ortiz
Browse files

NFC: pn533: Fix target polling mode

Remove unneeded bitwise OR operator on uninitialized sk_buff data
Signed-off-by: default avatarThierry Escande <>
Signed-off-by: default avatarSamuel Ortiz <>
parent e0af11fa
......@@ -1378,7 +1378,7 @@ static struct sk_buff *pn533_alloc_poll_tg_frame(struct pn533 *dev)
return NULL;
/* DEP support only */
*skb_put(skb, 1) |= PN533_INIT_TARGET_DEP;
*skb_put(skb, 1) = PN533_INIT_TARGET_DEP;
/* MIFARE params */
memcpy(skb_put(skb, 6), mifare_params, 6);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment