X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d313d6dbc3d9b248cffb07b55d75f538457da896..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/switch/src/switch-adm.c?ds=inline diff --git a/package/switch/src/switch-adm.c b/package/switch/src/switch-adm.c index beaf9ca78..85805f6b3 100644 --- a/package/switch/src/switch-adm.c +++ b/package/switch/src/switch-adm.c @@ -26,7 +26,7 @@ * 02110-1301, USA. */ -#include +#include #include #include #include @@ -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];