Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186577
b: refs/heads/master
c: 9bbf1ec
h: refs/heads/master
i:
  186575: 411b425
v: v3
  • Loading branch information
Linus Lüssing authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 3a7d58d commit e599f2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cec4a69cfc2bc780b4107193cb9bd621b67ab2b6
refs/heads/master: 9bbf1ecdb36e2395eecbf04229eaaedce3589db5
4 changes: 2 additions & 2 deletions trunk/drivers/staging/batman-adv/vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static void purge_vis_packets(void)
if (info == my_vis_info) /* never purge own data. */
continue;
if (time_after(jiffies,
info->first_seen + (VIS_TIMEOUT/1000)*HZ)) {
info->first_seen + (VIS_TIMEOUT*HZ)/1000)) {
hash_remove_bucket(vis_hash, &hashit);
free_info(info);
}
Expand Down Expand Up @@ -556,6 +556,6 @@ void vis_quit(void)
static void start_vis_timer(void)
{
queue_delayed_work(bat_event_workqueue, &vis_timer_wq,
(atomic_read(&vis_interval)/1000) * HZ);
(atomic_read(&vis_interval) * HZ) / 1000);
}

0 comments on commit e599f2b

Please sign in to comment.