Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122296
b: refs/heads/master
c: f941f85
h: refs/heads/master
v: v3
  • Loading branch information
Andrey Borzenkov authored and John W. Linville committed Nov 26, 2008
1 parent 11f9233 commit d2b846a
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: 8eb41c93685318d177276d1819915571aca7ebb1
refs/heads/master: f941f8590c06c6b1a77c4b5a5df59f39a3c7d1e9
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/orinoco/orinoco.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ static struct iw_statistics *orinoco_get_wireless_stats(struct net_device *dev)
wstats->qual.qual = (int)le16_to_cpu(cq.qual);
wstats->qual.level = (int)le16_to_cpu(cq.signal) - 0x95;
wstats->qual.noise = (int)le16_to_cpu(cq.noise) - 0x95;
wstats->qual.updated = 7;
wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
}
}

Expand Down Expand Up @@ -1168,7 +1168,7 @@ static inline void orinoco_spy_gather(struct net_device *dev, u_char *mac,
wstats.level = level - 0x95;
wstats.noise = noise - 0x95;
wstats.qual = (level > noise) ? (level - noise) : 0;
wstats.updated = 7;
wstats.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
/* Update spy records */
wireless_spy_update(dev, mac, &wstats);
}
Expand Down

0 comments on commit d2b846a

Please sign in to comment.