summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-30 12:29:37 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-17 05:02:10 -0400
commit700e8ea6770df3113e735bcc76ecd6ffac71a13c (patch)
treec96dc1c3cf789a34f8c2141da6d8c05bd28039fc /net/mac80211/mlme.c
parent3448c0058327356049f140116fc6632bbfd0c122 (diff)
mac80211: Take status code as parameter to ieee80211_send_auth
Non-zero status code may be needed for Authentication frames, e.g., when using SAE. Signed-off-by: Jouni Malinen <j@w1.fi> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index f3f338541b01..a79bea5b93b7 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1864,7 +1864,7 @@ static void ieee80211_auth_challenge(struct ieee80211_sub_if_data *sdata,
1864 return; 1864 return;
1865 auth_data->expected_transaction = 4; 1865 auth_data->expected_transaction = 4;
1866 drv_mgd_prepare_tx(sdata->local, sdata); 1866 drv_mgd_prepare_tx(sdata->local, sdata);
1867 ieee80211_send_auth(sdata, 3, auth_data->algorithm, 1867 ieee80211_send_auth(sdata, 3, auth_data->algorithm, 0,
1868 elems.challenge - 2, elems.challenge_len + 2, 1868 elems.challenge - 2, elems.challenge_len + 2,
1869 auth_data->bss->bssid, auth_data->bss->bssid, 1869 auth_data->bss->bssid, auth_data->bss->bssid,
1870 auth_data->key, auth_data->key_len, 1870 auth_data->key, auth_data->key_len,
@@ -2762,7 +2762,7 @@ static int ieee80211_probe_auth(struct ieee80211_sub_if_data *sdata)
2762 IEEE80211_AUTH_MAX_TRIES); 2762 IEEE80211_AUTH_MAX_TRIES);
2763 2763
2764 auth_data->expected_transaction = 2; 2764 auth_data->expected_transaction = 2;
2765 ieee80211_send_auth(sdata, 1, auth_data->algorithm, 2765 ieee80211_send_auth(sdata, 1, auth_data->algorithm, 0,
2766 auth_data->ie, auth_data->ie_len, 2766 auth_data->ie, auth_data->ie_len,
2767 auth_data->bss->bssid, 2767 auth_data->bss->bssid,
2768 auth_data->bss->bssid, NULL, 0, 0); 2768 auth_data->bss->bssid, NULL, 0, 0);