[PATCH 2/3] AP: disconnect station on (Re)Assoc Resp xmit fail

Jouni Malinen j
Sun Aug 2 11:25:28 PDT 2015


On Thu, Jul 09, 2015 at 02:26:25PM +0200, Michal Kazior wrote:
> Station entry should be removed from driver to
> avoid unprivilaged traffic. It's also worth it to
> Deauth.

The hostapd_drv_sta_remove() part is not applicable without patch 1/3
and it should really be merged into that patch.. As far as the
ap_sta_disconnect() call is concerned, that might be reasonable addition
even without 1/3 (which I'm not applying in its current state). Though,
the reason code should likely be something else than
WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list