Search Linux Wireless

[PATCH] mac80211: fix IBSS auth

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

 



The code beyond this point is supposed to be used for
non-IBSS (managed) mode only.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
Cc: Jouni Malinen <j@xxxxx>
---
 net/mac80211/mlme.c |    1 +
 1 file changed, 1 insertion(+)

--- wireless-testing.orig/net/mac80211/mlme.c	2009-02-09 21:18:12.000000000 +0100
+++ wireless-testing/net/mac80211/mlme.c	2009-02-09 21:44:43.000000000 +0100
@@ -1175,6 +1175,7 @@ static void ieee80211_rx_mgmt_auth(struc
 		if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1)
 			return;
 		ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
+		return;
 	}
 
 	if (auth_alg != ifsta->auth_alg ||


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