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>
This commit is contained in:

committed by
Johannes Berg

parent
3448c00583
commit
700e8ea677
@@ -1864,7 +1864,7 @@ static void ieee80211_auth_challenge(struct ieee80211_sub_if_data *sdata,
|
||||
return;
|
||||
auth_data->expected_transaction = 4;
|
||||
drv_mgd_prepare_tx(sdata->local, sdata);
|
||||
ieee80211_send_auth(sdata, 3, auth_data->algorithm,
|
||||
ieee80211_send_auth(sdata, 3, auth_data->algorithm, 0,
|
||||
elems.challenge - 2, elems.challenge_len + 2,
|
||||
auth_data->bss->bssid, auth_data->bss->bssid,
|
||||
auth_data->key, auth_data->key_len,
|
||||
@@ -2762,7 +2762,7 @@ static int ieee80211_probe_auth(struct ieee80211_sub_if_data *sdata)
|
||||
IEEE80211_AUTH_MAX_TRIES);
|
||||
|
||||
auth_data->expected_transaction = 2;
|
||||
ieee80211_send_auth(sdata, 1, auth_data->algorithm,
|
||||
ieee80211_send_auth(sdata, 1, auth_data->algorithm, 0,
|
||||
auth_data->ie, auth_data->ie_len,
|
||||
auth_data->bss->bssid,
|
||||
auth_data->bss->bssid, NULL, 0, 0);
|
||||
|
Reference in New Issue
Block a user