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)
commit4ca546e5545b7345b69e9331ecd53a1e4c6f7fe1
tree49c01f7c212d7a764887f3dd2c69ed5376ffcd46
parentf768b34017cbe6e7690686514f682f076bb1f477
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