summaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp/llcp.h
diff options
context:
space:
mode:
authorSamuel Ortiz2013-03-20 16:06:12 +0100
committerSamuel Ortiz2013-04-11 16:28:56 +0200
commit5eef6669759f8e291ab0347894876b532c242324 (patch)
tree54939e3efa7511cfcde7300dee9e1adb5c122525 /net/nfc/llcp/llcp.h
parentNFC: pn533: Use dynamic debug for pn533 hex dumps (diff)
downloadkernel-qcow2-linux-5eef6669759f8e291ab0347894876b532c242324.tar.gz
kernel-qcow2-linux-5eef6669759f8e291ab0347894876b532c242324.tar.xz
kernel-qcow2-linux-5eef6669759f8e291ab0347894876b532c242324.zip
NFC: llcp: Socket miux is a big endian field
The MIUX must be transmitted in big endian and as such we have to convert it properly. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp/llcp.h')
-rw-r--r--net/nfc/llcp/llcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/llcp/llcp.h b/net/nfc/llcp/llcp.h
index 7e87a66b02ec..53054d337bf9 100644
--- a/net/nfc/llcp/llcp.h
+++ b/net/nfc/llcp/llcp.h
@@ -124,7 +124,7 @@ struct nfc_llcp_sock {
char *service_name;
size_t service_name_len;
u8 rw;
- u16 miux;
+ __be16 miux;
/* Remote link parameters */