From: Thierry Escande Date: Tue, 5 Feb 2013 09:08:35 +0000 (+0100) Subject: NFC: pn533: Fix target polling mode X-Git-Tag: MMI-PSA29.97-13-9~15013^2~31^2^2~78^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52f2eaeec11c16c219f0e99b8496fbba86889830;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git NFC: pn533: Fix target polling mode Remove unneeded bitwise OR operator on uninitialized sk_buff data Signed-off-by: Thierry Escande Signed-off-by: Samuel Ortiz --- diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index bd5c41b481d3..f0f6763d67ae 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -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);