Search Linux Wireless

Re: [PATCH v5 4/4] hostapd: add Automatic Channel Selection (ACS) support

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

 



On 07/26/2011 07:19 PM, Luis R. Rodriguez wrote:
@@ -1736,7 +1736,18 @@ struct hostapd_config * hostapd_config_read(const char *fname)
  				errors++;
  			}
  		} else if (os_strcmp(buf, "channel") == 0) {
-			conf->channel = atoi(pos);
+			if (os_strcmp(pos, "acs_survey") == 0) {
+				conf->channel = 0;
+			} else
+				conf->channel = atoi(pos);

It would be nice to enable ACS also if "channel" is not set at all. It may look strange from the point of view of the code authors. However, it makes sense from the point of view of the end user. If something is not specified, the driver should be able to make a reasonable choice by itself.

--
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux