Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 12:00:36 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        cokane@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: Regression with ndis and rt2860 on 8.0-RC1
Message-ID:  <3a142e750909240300m275f8025q2228a62ec9e41377@mail.gmail.com>
In-Reply-To: <3a142e750909240251x6d06f733m2897f4cc7158a025@mail.gmail.com>
References:  <4AB913B3.1050709@borderworlds.dk> <3a142e750909230102tfee2bact6c165ee97da0c7eb@mail.gmail.com> <3a142e750909231500o6d875b1dj3b6cba12483a84b3@mail.gmail.com> <4ABB0CFC.4050105@borderworlds.dk> <4ABB146E.3050103@borderworlds.dk> <3a142e750909240251x6d06f733m2897f4cc7158a025@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/24/09, Paul B. Mahol <onemda@gmail.com> wrote:
> On 9/24/09, Christian Laursen <xi@borderworlds.dk> wrote:
>> Christian Laursen wrote:
>>> Paul B. Mahol wrote:
>>>> On 9/23/09, Paul B. Mahol <onemda@gmail.com> wrote:
>>>>> On 9/22/09, Christian Laursen <xi@borderworlds.dk> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Some days ago I upgraded my Asus Eee 1000H from 7.2-RELEASE to
>>>>>> 8.0-BETA4
>>>>>> and then to 8.0-RC1 as of this morning.
>>>>>>
>>>>>> Since the Ralink Wireless NIC is not supported with a native driver I
>>>>>> have been using ndis for a long time on 7.x without any issues.
>>
>> I just made a discovery.
>>
>> If I create a wlan device with wlandevice ndis0, I am able to associate
>> and get traffic through the interface.
>>
>> I did get one warning though:
>> wlan0: ieee80211_new_state_locked: pending SCAN -> RUN transition lost
>>
>> If I read UPDATING correctly this is the way to configure wireless
>> devices on 8.0. As this is my first 8.0 system I was not sufficiently
>> aware of that.
>>
>> However, a panic is somewhat unexpected in this case.
>
> Yes, there is still code path where vap is used when it is NULL.

What about moving windrv_(un)wrap() calls from ndisdrv_modevent() to
vap create/delete.

I dont like:
"if (vap == NULL) then return" solution.

-- 
Paul



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