From 9c9407d390956ba25ad5615b066a141e739598a8 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Tue, 26 Feb 2019 19:56:37 +0500 Subject: [PATCH] Fix previous commit. --- src/driver/fortdrv.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/driver/fortdrv.c b/src/driver/fortdrv.c index 3e5295c0..38cabf09 100644 --- a/src/driver/fortdrv.c +++ b/src/driver/fortdrv.c @@ -37,6 +37,7 @@ typedef struct fort_device { UINT32 prov_boot : 1; UINT32 is_opened : 1; UINT32 power_off : 1; + UINT32 filter_transport : 1; UINT32 connect4_id; UINT32 accept4_id; @@ -864,12 +865,12 @@ fort_callout_force_reauth (const FORT_CONF_FLAGS old_conf_flags, { const UINT16 filter_bits = (stat->conf_group.fragment_bits | stat->conf_group.limit_bits); - - const BOOL old_filter_transport = (old_conf_flags.group_bits & filter_bits) != 0; const BOOL filter_transport = (conf_flags.group_bits & filter_bits) != 0; if (old_conf_flags.log_stat != conf_flags.log_stat - || old_filter_transport != filter_transport) { + || g_device->filter_transport != filter_transport) { + g_device->filter_transport = filter_transport; + if (old_conf_flags.log_stat) { fort_prov_flow_unregister(engine); }