aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/driver_madwifi.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-23 09:12:17 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-23 09:12:17 (GMT)
commit2fc98d02c1a4239148d6483ec9bd88db9b24afe5 (patch)
tree6da3656b510d5795bc9b9dfd759711e70de31c7d /hostapd/driver_madwifi.c
parent74bd7dae63983f7fb84d7f9f64c607ed9db8cff2 (diff)
downloadhostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.zip
hostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.tar.gz
hostap-06-2fc98d02c1a4239148d6483ec9bd88db9b24afe5.tar.bz2
Simplified RADIUS accounting id usage
Changed accounting_sta_start() to call accounting_sta_get_id() internally in accounting.c so that external callers do not need to do anything to allocate unique accounting id. When starting a new session, a unique identifier is needed anyway, so no need to keep these operations separate.
Diffstat (limited to 'hostapd/driver_madwifi.c')
-rw-r--r--hostapd/driver_madwifi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hostapd/driver_madwifi.c b/hostapd/driver_madwifi.c
index 9ddd033..d7d6041 100644
--- a/hostapd/driver_madwifi.c
+++ b/hostapd/driver_madwifi.c
@@ -831,7 +831,6 @@ madwifi_new_sta(struct madwifi_driver_data *drv, u8 addr[IEEE80211_ADDR_LEN])
memset(drv->acct_mac, 0, ETH_ALEN);
memset(&drv->acct_data, 0, sizeof(drv->acct_data));
}
- accounting_sta_get_id(hapd, sta);
if (hapd->conf->wpa) {
if (madwifi_process_wpa_ie(drv, sta))