mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
mac80211: fix IBSS auth
The code beyond this point is supposed to be used for non-IBSS (managed) mode only. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Jouni Malinen <j@w1.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9a03d6d7a8
commit
a71800f3e3
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1)
|
||||||
return;
|
return;
|
||||||
ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
|
ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auth_alg != ifsta->auth_alg ||
|
if (auth_alg != ifsta->auth_alg ||
|
||||||
|
|
Loading…
Reference in a new issue