Message ID | 1408792831-25615-5-git-send-email-Julia.Lawall@lip6.fr (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/nfc/nfcwilink.c b/drivers/nfc/nfcwilink.c index 683671a..e83df00 100644 --- a/drivers/nfc/nfcwilink.c +++ b/drivers/nfc/nfcwilink.c @@ -461,7 +461,11 @@ static int nfcwilink_close(struct nci_dev *ndev) static int nfcwilink_send(struct nci_dev *ndev, struct sk_buff *skb) { struct nfcwilink *drv = nci_get_drvdata(ndev); - struct nfcwilink_hdr hdr = {NFCWILINK_CHNL, NFCWILINK_OPCODE, 0x0000}; + struct nfcwilink_hdr hdr = { + .chnl = NFCWILINK_CHNL, + .opcode = NFCWILINK_OPCODE, + .len = 0x0000 + }; long len; dev_dbg(&drv->pdev->dev, "send entry, len %d\n", skb->len);