diff options
Diffstat (limited to 'net/irda/irlmp_event.c')
-rw-r--r-- | net/irda/irlmp_event.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/irda/irlmp_event.c b/net/irda/irlmp_event.c index 1bba87e78609..150cd3f1129a 100644 --- a/net/irda/irlmp_event.c +++ b/net/irda/irlmp_event.c | |||
@@ -174,9 +174,7 @@ void irlmp_discovery_timer_expired(void *data) | |||
174 | /* We always cleanup the log (active & passive discovery) */ | 174 | /* We always cleanup the log (active & passive discovery) */ |
175 | irlmp_do_expiry(); | 175 | irlmp_do_expiry(); |
176 | 176 | ||
177 | /* Active discovery is conditional */ | 177 | irlmp_do_discovery(sysctl_discovery_slots); |
178 | if (sysctl_discovery) | ||
179 | irlmp_do_discovery(sysctl_discovery_slots); | ||
180 | 178 | ||
181 | /* Restart timer */ | 179 | /* Restart timer */ |
182 | irlmp_start_discovery_timer(irlmp, sysctl_discovery_timeout * HZ); | 180 | irlmp_start_discovery_timer(irlmp, sysctl_discovery_timeout * HZ); |