Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a71800f3 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: fix IBSS auth



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

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Cc: Jouni Malinen <j@w1.fi>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9a03d6d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1205,6 +1205,7 @@ static void ieee80211_rx_mgmt_auth(struct ieee80211_sub_if_data *sdata,
		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 ||