Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81828
b: refs/heads/master
c: 9e7d1a4
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sandeen authored and David S. Miller committed Feb 1, 2008
1 parent c63197f commit 1b35221
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: 303d9bf6bb64ead8e3f1d7e29904a4025502e591
refs/heads/master: 9e7d1a445ed0d5c1d8863945d6c4c6f018a4aa83
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ static inline int iwl_check_bits(unsigned long field, unsigned long mask)
static inline unsigned long elapsed_jiffies(unsigned long start,
unsigned long end)
{
if (end > start)
if (end >= start)
return end - start;

return end + (MAX_JIFFY_OFFSET - start);
return end + (MAX_JIFFY_OFFSET - start) + 1;
}

static inline u8 iwl_get_dma_hi_address(dma_addr_t addr)
Expand Down

0 comments on commit 1b35221

Please sign in to comment.