NFC: mei_phy: adjust mei nfc header according the spec
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 7 May 2015 12:54:06 +0000 (15:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 18:15:54 +0000 (11:15 -0700)
commit1d3ff76721fbb04e69abe8abbae1a77ed02bd36f
tree55f02929d9768cf42f71a3dbbf28cce7b28a47b9
parentd4b78c7290dd0aa41596ad527877a6d70bf64110
NFC: mei_phy: adjust mei nfc header according the spec

1. mei_nfc_hci_hdr and mei_nfc_hdr are just the same thing so drop one
2. use mei_nfc_hdr structure as the member of the command and the reply
instead of replicating all header fields.
3. dump the header for easier debugging

Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nfc/mei_phy.c