diff options
| author | Jouni Malinen <j@w1.fi> | 2012-09-30 12:29:37 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 05:02:10 -0400 |
| commit | 700e8ea6770df3113e735bcc76ecd6ffac71a13c (patch) | |
| tree | c96dc1c3cf789a34f8c2141da6d8c05bd28039fc /net/mac80211/ibss.c | |
| parent | 3448c0058327356049f140116fc6632bbfd0c122 (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/ibss.c')
| -rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 291c9e07f1bd..c6b1448224f2 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
| @@ -279,7 +279,7 @@ static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta, | |||
| 279 | ibss_dbg(sdata, | 279 | ibss_dbg(sdata, |
| 280 | "TX Auth SA=%pM DA=%pM BSSID=%pM (auth_transaction=1)\n", | 280 | "TX Auth SA=%pM DA=%pM BSSID=%pM (auth_transaction=1)\n", |
| 281 | sdata->vif.addr, addr, sdata->u.ibss.bssid); | 281 | sdata->vif.addr, addr, sdata->u.ibss.bssid); |
| 282 | ieee80211_send_auth(sdata, 1, WLAN_AUTH_OPEN, NULL, 0, | 282 | ieee80211_send_auth(sdata, 1, WLAN_AUTH_OPEN, 0, NULL, 0, |
| 283 | addr, sdata->u.ibss.bssid, NULL, 0, 0); | 283 | addr, sdata->u.ibss.bssid, NULL, 0, 0); |
| 284 | } | 284 | } |
| 285 | return sta; | 285 | return sta; |
| @@ -397,7 +397,7 @@ static void ieee80211_rx_mgmt_auth_ibss(struct ieee80211_sub_if_data *sdata, | |||
| 397 | * However, try to reply to authentication attempts if someone | 397 | * However, try to reply to authentication attempts if someone |
| 398 | * has actually implemented this. | 398 | * has actually implemented this. |
| 399 | */ | 399 | */ |
| 400 | ieee80211_send_auth(sdata, 2, WLAN_AUTH_OPEN, NULL, 0, | 400 | ieee80211_send_auth(sdata, 2, WLAN_AUTH_OPEN, 0, NULL, 0, |
| 401 | mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0); | 401 | mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0); |
| 402 | } | 402 | } |
| 403 | 403 | ||
