]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: llcp: Fix the well known services endianness
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 3 Jun 2013 10:10:04 +0000 (12:10 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:45:10 +0000 (13:45 +0200)
commitde947f160c6a53d0423f6a13cc5ac4a88c4cc2b4
tree49c01f7c212d7a764887f3dd2c69ed5376ffcd46
parentf29e9e1faa62e88f2e1f01c57fbedeed621f9b33
NFC: llcp: Fix the well known services endianness

The WKS (Well Known Services) bitmask should be transmitted in big endian
order. Picky implementations will refuse to establish an LLCP link when the
WKS bit 0 is not set to 1. The vast majority of implementations out there
are not that picky though...

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp_core.c