mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:34:06 +02:00
Fix the counters bug (#983)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9d9470d086
commit
e1bdcce850
@ -223,7 +223,7 @@ static __u32 adm_rreg(__u8 table, __u8 addr)
|
|||||||
__u8 bits[6] = {
|
__u8 bits[6] = {
|
||||||
0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
(0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
|
(0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
|
||||||
((addr&62)<<2)
|
((addr&63)<<2)
|
||||||
};
|
};
|
||||||
|
|
||||||
__u8 rbits[4];
|
__u8 rbits[4];
|
||||||
|
Loading…
Reference in New Issue
Block a user