aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/accounting.c
diff options
context:
space:
mode:
authorNick Lowe <nick.lowe@lugatech.com>2016-01-25 16:49:59 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-06 15:13:21 (GMT)
commitb71a64aa01488f9866fe86f19020a3911b09b436 (patch)
treeefe55cb494d56d1d4ba6de2bd941132c54b2cf63 /src/ap/accounting.c
parent4260e1a1ff148af48c6676413cf210c898e8aa0b (diff)
downloadhostap-b71a64aa01488f9866fe86f19020a3911b09b436.zip
hostap-b71a64aa01488f9866fe86f19020a3911b09b436.tar.gz
hostap-b71a64aa01488f9866fe86f19020a3911b09b436.tar.bz2
Send an Acct-Multi-Session-Id attribute in Access-Request packets
Previously, this was included only in Accounting-Request packets. Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
Diffstat (limited to 'src/ap/accounting.c')
-rw-r--r--src/ap/accounting.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ap/accounting.c b/src/ap/accounting.c
index 87ab5f9..dfb593a 100644
--- a/src/ap/accounting.c
+++ b/src/ap/accounting.c
@@ -52,21 +52,6 @@ static struct radius_msg * accounting_msg(struct hostapd_data *hapd,
if (sta) {
radius_msg_make_authenticator(msg, (u8 *) sta, sizeof(*sta));
-
- if ((hapd->conf->wpa & 2) &&
- !hapd->conf->disable_pmksa_caching &&
- sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) {
- os_snprintf(buf, sizeof(buf), "%016lX",
- (long unsigned int)
- sta->eapol_sm->acct_multi_session_id);
- if (!radius_msg_add_attr(
- msg, RADIUS_ATTR_ACCT_MULTI_SESSION_ID,
- (u8 *) buf, os_strlen(buf))) {
- wpa_printf(MSG_INFO,
- "Could not add Acct-Multi-Session-Id");
- goto fail;
- }
- }
} else {
radius_msg_make_authenticator(msg, (u8 *) hapd, sizeof(*hapd));
}