PATCH: remove_sta in wpa_sta_disconnect()
Gunter Burchardt
gbur
Tue Aug 17 23:49:20 PDT 2004
Hello,
In wpa_sta_disconnect() hapd->driver.remove_sta() is called and after
it STA_REMOVE is set to inform that the station should be removed. The
first one is not ok! STA_REMOVE causes to remove the sta from all
places in hostapd and kernel (hapd->driver.remove_sta() is also
called). If the station is removed from kernel before accounting stop
is sent there are no accounting information available from kernel for
the sta.
Secondly in the patch is a sanity check whether a terminate cause is
set for the sta.
regards
gunter
More information about the Hostap
mailing list