Re: Wireless silently disconnects?



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





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