diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-20 11:06:12 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-11 10:28:56 -0400 |
commit | 5eef6669759f8e291ab0347894876b532c242324 (patch) | |
tree | 54939e3efa7511cfcde7300dee9e1adb5c122525 /net/nfc/llcp/llcp.h | |
parent | e279f84f304d5486291a2d6465105dc6f96cc8ca (diff) |
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.h | 2 |
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 { | |||
124 | char *service_name; | 124 | char *service_name; |
125 | size_t service_name_len; | 125 | size_t service_name_len; |
126 | u8 rw; | 126 | u8 rw; |
127 | u16 miux; | 127 | __be16 miux; |
128 | 128 | ||
129 | 129 | ||
130 | /* Remote link parameters */ | 130 | /* Remote link parameters */ |