From patchwork Fri Feb 4 22:34:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 533001 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 p14MYtgd020021 for ; Fri, 4 Feb 2011 22:34:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016Ab1BDWev (ORCPT ); Fri, 4 Feb 2011 17:34:51 -0500 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:57557 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849Ab1BDWev (ORCPT ); Fri, 4 Feb 2011 17:34:51 -0500 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1PlUEu-0002Sq-ES; Fri, 04 Feb 2011 23:34:52 +0100 Subject: [PATCH] ssb-pcmcia: Fix parsing of invariants tuples From: Michael =?ISO-8859-1?Q?B=FCsch?= To: John Linville , linux-wireless , b43-dev Cc: dylan cristiani , Dominik Brodowski Date: Fri, 04 Feb 2011 23:34:45 +0100 Message-ID: <1296858885.21503.33.camel@maggie> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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]); Fri, 04 Feb 2011 22:34:56 +0000 (UTC) Index: wireless-testing/drivers/ssb/pcmcia.c =================================================================== --- wireless-testing.orig/drivers/ssb/pcmcia.c 2010-12-30 15:49:39.000000000 +0100 +++ wireless-testing/drivers/ssb/pcmcia.c 2011-02-04 23:29:37.000000000 +0100 @@ -733,7 +733,7 @@ int ssb_pcmcia_get_invariants(struct ssb /* Fetch the vendor specific tuples. */ res = pcmcia_loop_tuple(bus->host_pcmcia, SSB_PCMCIA_CIS, - ssb_pcmcia_do_get_invariants, sprom); + ssb_pcmcia_do_get_invariants, iv); if ((res == 0) || (res == -ENOSPC)) return 0;