Re: [PATCH v2 6/8] sdpd: Remove 'register' and 'remove' requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

> sdpd is now controlled by adapters and should not be modified with
> other means.
> ---
> src/sdpd-request.c |  14 --------
> src/sdpd-service.c | 100 -----------------------------------------------------
> src/sdpd.h         |   2 --
> 3 files changed, 116 deletions(-)
> 
> diff --git a/src/sdpd-request.c b/src/sdpd-request.c
> index fbeb488..5b88a10 100644
> --- a/src/sdpd-request.c
> +++ b/src/sdpd-request.c
> @@ -997,13 +997,6 @@ static void process_request(sdp_req_t *req)
> 		rsphdr->pdu_id = SDP_SVC_SEARCH_ATTR_RSP;
> 		break;
> 	/* Following requests are allowed only for local connections */
> -	case SDP_SVC_REGISTER_REQ:
> -		SDPDBG("Service register request");
> -		if (req->local) {
> -			status = service_register_req(req, &rsp);
> -			rsphdr->pdu_id = SDP_SVC_REGISTER_RSP;
> -		}
> -		break;
> 	case SDP_SVC_UPDATE_REQ:
> 		SDPDBG("Service update request");
> 		if (req->local) {
> @@ -1011,13 +1004,6 @@ static void process_request(sdp_req_t *req)
> 			rsphdr->pdu_id = SDP_SVC_UPDATE_RSP;
> 		}
> 		break;
> -	case SDP_SVC_REMOVE_REQ:
> -		SDPDBG("Service removal request");
> -		if (req->local) {
> -			status = service_remove_req(req, &rsp);
> -			rsphdr->pdu_id = SDP_SVC_REMOVE_RSP;
> -		}
> -		break;

we can not take these out. We need a way to pass qualification.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux