diff options
Diffstat (limited to 'src/ap/accounting.c')
-rw-r--r-- | src/ap/accounting.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/accounting.c b/src/ap/accounting.c index 0aacc3c95b084..9fc1886a2cffe 100644 --- a/src/ap/accounting.c +++ b/src/ap/accounting.c @@ -97,6 +97,9 @@ static struct radius_msg * accounting_msg(struct hostapd_data *hapd, msg) < 0) goto fail; + if (sta && add_sqlite_radius_attr(hapd, sta, msg, 1) < 0) + goto fail; + if (sta) { for (i = 0; ; i++) { val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, |