Re: wireless driver workarounds



On Sat, 2006-03-04 at 10:16 -0500, Robert Love wrote:
> On Sat, 2006-03-04 at 13:15 +0100, aj2r ya com wrote:
> > Firstly, sorry about my english one more time.
> > 
> > The first hunk desn't work correctly because if this is true:
> >  	"Must be in infrastructure mode during scan, otherwise we
> > don't get a full list of scan results.  Scanning doesn't work
> > well in Ad-Hoc mode :( "
> > If device is in Ad-Hoc mode but
> > nm_device_802_11_wireless_get_mode return IW_MODE_AUTO,
> > scanning doesn't work well.
> > In my opinion solution is not modify this code, would be
> > necessary "force" mode never is IW_MODE_AUTO when connect, if
> > it's posible.
> 
> If we were in Ad-Hoc mode, though, get_mode() won't return IW_MODE_AUTO.

Though it would appear to return IW_MODE_AUTO if either:

1) we can't open a control socket to the card
2) the SIOCGIWMODE call fails

if (2) is the reason, then it's 95% likely a driver problem.

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]