Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111984
b: refs/heads/master
c: 75d0edb
h: refs/heads/master
v: v3
  • Loading branch information
Nick Kossifidis authored and John W. Linville committed Sep 30, 2008
1 parent 7d7dee9 commit 434e75a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 509a106e68aa42acc1a0c44ab365d0de6869bd9e
refs/heads/master: 75d0edb82269a1bcf83d32b1d77ab94a5e3ed8af
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,11 @@ ath5k_chip_name(enum ath5k_srev_type type, u_int16_t val)
for (i = 0; i < ARRAY_SIZE(srev_names); i++) {
if (srev_names[i].sr_type != type)
continue;
if ((val & 0xff) < srev_names[i + 1].sr_val) {

if ((val & 0xf0) == srev_names[i].sr_val)
name = srev_names[i].sr_name;

if ((val & 0xff) == srev_names[i].sr_val) {
name = srev_names[i].sr_name;
break;
}
Expand Down

0 comments on commit 434e75a

Please sign in to comment.