commit | 3a9d18ff42ce17d62e1968ed93358d036989b670 | [log] [tgz] |
---|---|---|
author | Sylvain Fonteneau <sylvain.fonteneau@trusted-logic.com> | Mon May 23 13:41:52 2011 +0200 |
committer | Martijn Coenen <maco@google.com> | Mon Jul 04 10:33:27 2011 +0200 |
tree | c74ec57df1a8875d7f52d5d5add0d25c34f46cfd | |
parent | a74fcf0b7a509cb70b69c6362b704d8014edcab1 [diff] |
Check SAP range in LLCP sockets. LLCP specification mentions that SAP numbers are allocated as follows: - from 0x00 to 0x0F, used for well-known services - from 0x10 to 0x1F, used for SDP advertised services - from 0x20 to 0x3F, used for *non* SDP advertised services This patch enforce this restriction. Change-Id: Idd8ab4da4cfa9ad9e2dbf7eddc3c66900bcf9ff8