Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 01:10:08 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Adam K Kirchhoff <adamk@voicenet.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: kern/131781: [ndis] ndis keeps dropping the link
Message-ID:  <3a142e750902181610h65f23d13vfeb20cc19ea0944a@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/18/09, Adam K Kirchhoff <adamk@voicenet.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750902181610h65f23d13vfeb20cc19ea0944a>