Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28838
b: refs/heads/master
c: a192491
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Jeff Garzik committed Jun 23, 2006
1 parent a19e913 commit 3ad33a1
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: da4f5ccf6040b998b64c60db8fa5f4ee03fdaf95
refs/heads/master: a192491ad58098f2c57d2d1efe721ea0634dc0aa
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wavelan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1695,8 +1695,8 @@ static int wv_frequency_list(unsigned long ioaddr, /* I/O port of the card */
/* Look in the table if the frequency is allowed */
if (table[9 - (freq / 16)] & (1 << (freq % 16))) {
/* Compute approximate channel number */
while ((((channel_bands[c] >> 1) - 24) < freq) &&
(c < NELS(channel_bands)))
while ((c < NELS(channel_bands)) &&
(((channel_bands[c] >> 1) - 24) < freq))
c++;
list[i].i = c; /* Set the list index */

Expand Down

0 comments on commit 3ad33a1

Please sign in to comment.