diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index b732e219b10..558412d75ac 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -978,7 +978,7 @@ u32 ieee80211_mandatory_rates(struct ieee80211_local *local, | |||
978 | } | 978 | } |
979 | 979 | ||
980 | void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, | 980 | void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, |
981 | u16 transaction, u16 auth_alg, | 981 | u16 transaction, u16 auth_alg, u16 status, |
982 | u8 *extra, size_t extra_len, const u8 *da, | 982 | u8 *extra, size_t extra_len, const u8 *da, |
983 | const u8 *bssid, const u8 *key, u8 key_len, u8 key_idx) | 983 | const u8 *bssid, const u8 *key, u8 key_len, u8 key_idx) |
984 | { | 984 | { |
@@ -1003,7 +1003,7 @@ void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, | |||
1003 | memcpy(mgmt->bssid, bssid, ETH_ALEN); | 1003 | memcpy(mgmt->bssid, bssid, ETH_ALEN); |
1004 | mgmt->u.auth.auth_alg = cpu_to_le16(auth_alg); | 1004 | mgmt->u.auth.auth_alg = cpu_to_le16(auth_alg); |
1005 | mgmt->u.auth.auth_transaction = cpu_to_le16(transaction); | 1005 | mgmt->u.auth.auth_transaction = cpu_to_le16(transaction); |
1006 | mgmt->u.auth.status_code = cpu_to_le16(0); | 1006 | mgmt->u.auth.status_code = cpu_to_le16(status); |
1007 | if (extra) | 1007 | if (extra) |
1008 | memcpy(skb_put(skb, extra_len), extra, extra_len); | 1008 | memcpy(skb_put(skb, extra_len), extra, extra_len); |
1009 | 1009 | ||