From owner-freebsd-net@FreeBSD.ORG Thu Feb 19 00:10:10 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110571065679 for ; Thu, 19 Feb 2009 00:10:10 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6683A8FC29 for ; Thu, 19 Feb 2009 00:10:09 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy14 with SMTP id 14so153800ewy.19 for ; Wed, 18 Feb 2009 16:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uyqKSVJq+5u5pad6AoDHw87mo5uftGkmRn3YrcFi2Pk=; b=Fki8FLelhs8vDuH/MdYCXVtu2nFDI0rI6Xlb4ncuAnGj/2G0sNLkZh7lRvEBBYLjCW gXsBBJOlzto8BIVF6W6cor+6m5+XE2HCOso8hq2qpsfgpkoXeEcGVy79O0AwIY72gUcm Y6Qck0QHKipi9DVdv/yzFdETwSMpzpHk219E0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BOyNri2Q/f/IHilzKoQfk7x2+iUg2Rxb65ZWxExMFb1wqX94hkbNMFGD9vGcNEf8hP tRgxUs0EhCzAP8KdIt8xHyu7GprxBFo7GYR/RNMxIwn657XmWgXShV3/GBQ0mNlJ2gq/ XiOS2wspZUXgVRJQSRXsFueqg5jNr8aaGMA9E= MIME-Version: 1.0 Received: by 10.210.59.3 with SMTP id h3mr4986215eba.106.1235002208446; Wed, 18 Feb 2009 16:10:08 -0800 (PST) In-Reply-To: <20090218142659.135a73bc@memory.visualtech.com> References: <200902171720.n1HHKkIf071491@freefall.freebsd.org> <3a142e750902171414p438d184bl54a1569e27490634@mail.gmail.com> <200902171727.53156.adamk@voicenet.com> <3a142e750902180306x390fd549led076474f4fae06b@mail.gmail.com> <20090218080420.681788d2@memory.visualtech.com> <3a142e750902180733o679b050ck8d9287f0bdd860e7@mail.gmail.com> <20090218111223.4483b923@memory.visualtech.com> <3a142e750902181027q25863f39ycc342d6506949eb9@mail.gmail.com> <20090218134935.14f0a8c2@memory.visualtech.com> <20090218142659.135a73bc@memory.visualtech.com> Date: Thu, 19 Feb 2009 01:10:08 +0100 Message-ID: <3a142e750902181610h65f23d13vfeb20cc19ea0944a@mail.gmail.com> From: "Paul B. Mahol" To: Adam K Kirchhoff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: kern/131781: [ndis] ndis keeps dropping the link X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 00:10:10 -0000 On 2/18/09, Adam K Kirchhoff wrote: > --- if_ndis.c 2009-01-31 00:22:11.000000000 -0500 > +++ if_ndis.c.orig 2009-02-18 14:03:30.000000000 -0500 > @@ -2459,6 +2459,11 @@ > bzero((char *)&config, len); > config.nc_length = len; > config.nc_fhconfig.ncf_length = sizeof(ndis_80211_config_fh); > + > + device_printf(sc->ndis_dev, "couldn't change " > + "Testing config.nc_dsconfig: %u \n", > + config.nc_dsconfig); > + > rval = ndis_get_info(sc, OID_802_11_CONFIGURATION, &config, &len); printf should be bellow ndis_get_info() and above ndis_set_info(). Does same problem happens when not using WPA eg. wpa_supplicant? -- Paul