Re: Wireless silently disconnects?
- From: Brian Magnuson <magnuson rcn com>
- To: Robert Love <rml novell com>
- Cc: networkmanager-list gnome org
- Subject: Re: Wireless silently disconnects?
- Date: Wed, 1 Mar 2006 20:00:54 -0500
* Robert Love <rml novell com> [2006-03-01 19:54]:
> On Wed, 2006-03-01 at 19:31 -0500, Brian Magnuson wrote:
>
> >
> > --- src/nm-device-802-11-wireless.c 2006-02-21 11:39:33.000000000 +0100
> > +++ src/nm-device-802-11-wireless.c 2006-03-01 19:06:34.000000000 +0100
> > @@ -1808,8 +1808,10 @@
> > /* 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 :(
> > */
> > - nm_device_802_11_wireless_set_mode (self, IW_MODE_INFRA);
> > - nm_device_802_11_wireless_set_frequency (self, 0);
> > + if (nm_device_802_11_wireless_get_mode (self) == IW_MODE_ADHOC) {
> > + nm_device_802_11_wireless_set_mode (self, IW_MODE_INFRA);
> > + nm_device_802_11_wireless_set_frequency (self, 0);
> > + }
>
> Has anyone tested without this chunk, and with just the second hunk that
> sets the wpa_supplicant driver?
>
> Robert Love
No, but it seemed pretty uncontroversial. Could be less so by switching that
check to != IW_MODE_INFRA. I agree though that it's not obvious why this
would be needed at all.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]