Skip to contentSkip to conversation

mac80211: fix IBSS auth

PATCH New Johannes Berg 1 participant 1 message Feb 9, 2009 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: fix IBSS auth

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

---
 net/mac80211/mlme.c |    1 +
 1 file changed, 1 insertion(+)
net/mac80211/mlme.c +1 -0
@@ -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 ||