[lwlan-devel] enable card automatically
Tormod Volden
lists.tormod at gmail.com
Wed Jan 30 18:17:05 EST 2008
On Jan 30, 2008 11:13 PM, Solomon Peachy <solomon at linux-wlan.com> wrote:
> On Mon, Jan 28, 2008 at 05:34:28PM +0100, Tormod Volden wrote:
> > I have always used the wlan_wext_write=1 option, so I don't think it
> > is enough. Is this option meant to enable the interface automatically,
> > in addition to allow for wext ioctls? Does it work for anyone else
> > (without extra wlanctl-ng calls, of course)?
>
> You're correct. I keep forgetting just how old the codebase is.
>
> Basically after the device has been initialzied, we need to issue an
> prism2sta_ifstate(hw, P80211ENUM_ifstate_enable) call to kick the
> hardware into a running state.
>
> Try the attached patch. It's completely untested but should do the
> trick -- if wlan_wext_write is enabled, that is.
wlan_wext_write is not defined in prism2_*
I hardcoded it for trying out: It works as long as I apply Karl's patch as well.
Tormod
More information about the Linux-wlan-devel
mailing list