Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFC: llcp: Set the LLC Link Management well known service bit

In order to advertise our LLCP support properly and to follow the LLCP
specs requirements, we need to initialize the WKS (Well-Known Services)
bitfield to 1 as SAP 0 is the only mandatory supported service.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

+1
+1
net/nfc/llcp_core.c
··· 1590 1590 local->lto = 150; /* 1500 ms */ 1591 1591 local->rw = LLCP_MAX_RW; 1592 1592 local->miux = cpu_to_be16(LLCP_MAX_MIUX); 1593 + local->local_wks = 0x1; /* LLC Link Management */ 1593 1594 1594 1595 nfc_llcp_build_gb(local); 1595 1596