mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
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>
This commit is contained in:
parent
2635a4bdfa
commit
f768b34017
@ -1590,6 +1590,7 @@ int nfc_llcp_register_device(struct nfc_dev *ndev)
|
||||
local->lto = 150; /* 1500 ms */
|
||||
local->rw = LLCP_MAX_RW;
|
||||
local->miux = cpu_to_be16(LLCP_MAX_MIUX);
|
||||
local->local_wks = 0x1; /* LLC Link Management */
|
||||
|
||||
nfc_llcp_build_gb(local);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user