Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41471
b: refs/heads/master
c: 3b31dc3
h: refs/heads/master
i:
  41469: 5640437
  41467: 3cc1b9a
  41463: 105f707
  41455: 72e4e11
  41439: 4bb8223
  41407: 6b9b73b
  41343: 998168c
  41215: a7d6345
  40959: 33a155d
v: v3
  • Loading branch information
Holden Karau authored and Jeff Garzik committed Dec 2, 2006
1 parent ea9ee17 commit 8672d41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93b2dd12049d1adb0d76fb918fcd4c1030445433
refs/heads/master: 3b31dc327f07a2df06da931ffb0bb1627711bd86
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2343,6 +2343,14 @@ static int atmel_get_scan(struct net_device *dev,
iwe.u.freq.e = 0;
current_ev = iwe_stream_add_event(current_ev, extra + IW_SCAN_MAX_DATA, &iwe, IW_EV_FREQ_LEN);

/* Add quality statistics */
iwe.cmd = IWEVQUAL;
iwe.u.qual.level = priv->BSSinfo[i].RSSI;
iwe.u.qual.qual = iwe.u.qual.level;
/* iwe.u.qual.noise = SOMETHING */
current_ev = iwe_stream_add_event(current_ev, extra + IW_SCAN_MAX_DATA , &iwe, IW_EV_QUAL_LEN);


iwe.cmd = SIOCGIWENCODE;
if (priv->BSSinfo[i].UsingWEP)
iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY;
Expand Down

0 comments on commit 8672d41

Please sign in to comment.