projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78cd65
)
Fix the counters bug (#983)
author
Florian Fainelli
<florian@openwrt.org>
Wed, 27 Dec 2006 19:35:13 +0000
(19:35 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 27 Dec 2006 19:35:13 +0000
(19:35 +0000)
SVN-Revision: 5910
package/switch/src/switch-adm.c
patch
|
blob
|
history
diff --git
a/package/switch/src/switch-adm.c
b/package/switch/src/switch-adm.c
index 718096b02641b2f83a6d41874db9762460596d0c..85805f6b3a2eb25d31e0ee190b4eeeb235b94fa3 100644
(file)
--- a/
package/switch/src/switch-adm.c
+++ b/
package/switch/src/switch-adm.c
@@
-223,7
+223,7
@@
static __u32 adm_rreg(__u8 table, __u8 addr)
__u8 bits[6] = {
0xFF, 0xFF, 0xFF, 0xFF,
(0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
- ((addr&6
2
)<<2)
+ ((addr&6
3
)<<2)
};
__u8 rbits[4];