Search Linux Wireless

Re: [PATCH] cfg80211: Disallow HT/WEP in IBSS mode

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

 



On Thu, 2012-10-18 at 10:19 +0530, Sujith Manoharan wrote:
> Currently, a user is allowed to choose a HT operating channel
> with WEP when creating an IBSS network. WEP is not allowed
> in HT configuration - this patch ensures that such requests
> are denied.

Applied, but

> @@ -733,6 +733,12 @@ nl80211_parse_connkeys(struct cfg80211_registered_device *rdev,
>  		result->params[parse.idx].key_len = parse.p.key_len;
>  		result->params[parse.idx].key = result->data[parse.idx];
>  		memcpy(result->data[parse.idx], parse.p.key, parse.p.key_len);
> +
> +		if (result->params[parse.idx].cipher == WLAN_CIPHER_SUITE_WEP40 ||
> +		    result->params[parse.idx].cipher == WLAN_CIPHER_SUITE_WEP104) {

I changed this to be "parse.p.cipher == " to make the lines shorter.

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux