From patchwork Tue Jan 18 14:42:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Barletz X-Patchwork-Id: 486361 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0IEgrme020816 for ; Tue, 18 Jan 2011 14:42:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751904Ab1AROmv (ORCPT ); Tue, 18 Jan 2011 09:42:51 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:65378 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032Ab1AROmv (ORCPT ); Tue, 18 Jan 2011 09:42:51 -0500 Received: by wyb28 with SMTP id 28so6190981wyb.19 for ; Tue, 18 Jan 2011 06:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=RJoAaMZJjaTxWhTOFHCOQYJoL8NFC4CQKHFPioHG7gE=; b=pTSkPloIIBUdgaB1mCcapVJunNWAJi3sivYekerQ8T2qBMFgVy1VagURxzuLaOMmiv 5lT1E7tLuGuO4L/ZnlxZmznCyLskVmXyLOFh9uxNQBfFSdB63Z5BQvHyqbZRQ1asUL3Z ZPYRxbcUC3m/y6ja70+4bHukCFtrSGS+4SSQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fvqZJoHU5v/ZWc67BYa5FS9fO1VbYHGDTjNMr0MEAgmmbG5G7TzIsrMVjl8l82NWZj taCC+IBmT5cTDdwh90tn6DkUJWwHLEV6awzNpDm3CdrovhSwOumzaNjVkvLYZ5t4D7nK Evy56QCwtSaWGjBBgz4KUC0suiV3cAFROTlBg= MIME-Version: 1.0 Received: by 10.216.166.130 with SMTP id g2mr5290941wel.3.1295361769776; Tue, 18 Jan 2011 06:42:49 -0800 (PST) Received: by 10.216.231.106 with HTTP; Tue, 18 Jan 2011 06:42:49 -0800 (PST) Date: Tue, 18 Jan 2011 16:42:49 +0200 Message-ID: Subject: [libdvben50221] [PATCH] Assign same resource_id in open_session_response when "resource non-existent" From: Tomer Barletz To: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 18 Jan 2011 14:42:54 +0000 (UTC) diff -r d3509d6e9499 lib/libdvben50221/en50221_stdcam_llci.c --- a/lib/libdvben50221/en50221_stdcam_llci.c Sat Aug 08 19:17:21 2009 +0200 +++ b/lib/libdvben50221/en50221_stdcam_llci.c Tue Jan 18 14:51:34 2011 +0200 @@ -351,6 +351,10 @@ } } + /* In case the reousrce does not exist, return the same id in the response. + See 7.2.6.2 */ + *connected_resource_id = requested_resource_id; + return -1; }