LLCP_WKS_NUM_SAP
#define LLCP_LOCAL_SAP_OFFSET (LLCP_WKS_NUM_SAP + LLCP_SDP_NUM_SAP)
#define LLCP_MAX_SAP (LLCP_WKS_NUM_SAP + LLCP_SDP_NUM_SAP + LLCP_LOCAL_NUM_SAP)
&local->local_sdp_cnt[sock->ssap - LLCP_WKS_NUM_SAP];
LLCP_WKS_NUM_SAP];
} else if (sock->ssap != 0 && sock->ssap < LLCP_WKS_NUM_SAP) {
if (ssap < LLCP_WKS_NUM_SAP) {
local_ssap = ssap - LLCP_WKS_NUM_SAP;
pr_debug("SDP ssap %d\n", LLCP_WKS_NUM_SAP + ssap);
return LLCP_WKS_NUM_SAP + ssap;
if (sock->ssap < LLCP_LOCAL_NUM_SAP && sock->ssap >= LLCP_WKS_NUM_SAP) {