Search Linux Wireless

Re: [PATCH] mac80211: remove shared key todo

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

 



On Mon, 2008-06-16 at 20:55 +0200, Johannes Berg wrote:
> Adding shared key authentication is not going to happen anyway.

+1; I've _never_ heard or seen anyone using Shared Key auth with adhoc.
How would that work anyway, given that there's no AP to send you the
challenge text?  Just auth against some random peer?

Dan

> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> ---
>  net/mac80211/mlme.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> --- everything.orig/net/mac80211/mlme.c	2008-06-16 09:30:45.000000000 +0200
> +++ everything/net/mac80211/mlme.c	2008-06-16 09:31:01.000000000 +0200
> @@ -1753,11 +1753,12 @@ static void ieee80211_rx_mgmt_auth(struc
>  	       auth_transaction, status_code);
>  
>  	if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
> -		/* IEEE 802.11 standard does not require authentication in IBSS
> +		/*
> +		 * IEEE 802.11 standard does not require authentication in IBSS
>  		 * networks and most implementations do not seem to use it.
>  		 * However, try to reply to authentication attempts if someone
>  		 * has actually implemented this.
> -		 * TODO: Could implement shared key authentication. */
> +		 */
>  		if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
>  			printk(KERN_DEBUG "%s: unexpected IBSS authentication "
>  			       "frame (alg=%d transaction=%d)\n",
> 
> 
> --
> 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

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