Search Linux Wireless

Re: [PATCH 3/4 V2] mac80211: add last beacon time in scan list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 25, 2008 at 5:58 PM, Pavel Roskin <proski@xxxxxxx> wrote:
>
>> +                     time_diff = jiffies - bss->last_update > mid_range ?
>> +                             jiffies - bss->last_update :
>> +                             bss->last_update - jiffies;
>
> That's pretty hairy.  Do we really lack a function to calculate time
> difference?

what about elapsed_jiffies() in iwl-helpers.h ?...
should be moved to a generic place (include/linux/jiffies.h) so that
other users can access it.
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux