On Mon, Oct 17, 2016 at 06:02:16PM -0400, Sam Tannous wrote: > We should unconditionally remove inactivity timers for wired network cases. > This patch checks for this after a new station association: > > hapd->iface->drv_flags & WPA_DRIVER_FLAGS_WIRED > > and then cancels the timeout and does not register a new one. > > It prints out a debug message "cancel wired" like this: > > 1476740180.276286: IEEE 802.1X: 00:02:00:00:00:07 CTRL_DIR entering > state FORCE_BOTH > 1476740180.276295: hostapd_new_assoc_sta: cancel wired ap_handle_timer > timeout for 00:02:00:00:00:07 (120 seconds - ap_max_inactivity) > > This was tested on a debian jessie amd64 system with a configured 120 second > inactivity timer and the session did not timeout. Thanks, applied. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap