From e1bdcce850872c403681a219bdcf3049704c1aad Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 27 Dec 2006 19:35:13 +0000 Subject: Fix the counters bug (#983) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/switch/src/switch-adm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/switch/src/switch-adm.c b/package/switch/src/switch-adm.c index 718096b02..85805f6b3 100644 --- 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&62)<<2) + ((addr&63)<<2) }; __u8 rbits[4]; -- cgit v1.2.3