On Tue, Jun 24, 2008 at 1:47 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2008-06-24 at 13:38 +0300, Tomas Winkler wrote: >> From: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx> >> >> This patch adds the interval between the scan results and the last time a >> beacon was received in the result of the scan. > > Why do we need this? Not sure myself I already forgotten who asked me to do it. Maybe some roaming algorithm needs it in the user space. > >> + memset(&iwe, 0, sizeof(iwe)); >> + iwe.cmd = IWEVCUSTOM; >> + sprintf(buf, " Last beacon: %dms ago", >> + jiffies_to_msecs(jiffies - bss->last_update)); > > Is there no time_between() or something that accounts for wraparound? Will fix it. Thanks Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html