]> 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)
commit8d5dac7b4603cd801905a0734a5416992eb1fcb6
tree49c01f7c212d7a764887f3dd2c69ed5376ffcd46
parent6cf50afdb0483c159a572c4ad119a589884d86b2
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