Search Linux Wireless

Re: [PATCH] ath9k: Add sanity check for beacon_int in adhoc/mesh case

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

 



Jouni Malinen <jouni.malinen@xxxxxxxxxxx> writes:

> +	/*
> +	 * It looks like mac80211 may end up using beacon interval of zero in
> +	 * some cases (at least for mesh point). Avoid getting into an
> +	 * infinite loop by using a bit safer value instead..
> +	 */
> +	if (intval == 0)
> +		intval = 100;

Maybe a big fat warning here would help with debugging the issue?

-- 
Kalle Valo
--
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